Questions tagged [angular]

It's a open-source (web) application platform intended for front-ends and is based on TypeScript programming language.

40 questions
2
votes
1 answer

Renaming the index.html on Google App Engine

Ok, let me 1st come clean. I mistakenly added a 365d expiration date to my index.html file. I've now made a change to a JS file, which changed the name of the import in my index.html and now it's trying to import the wrong file. Oops. So I'm…
2
votes
1 answer

Angular CORS with Nginx

Several questions for the same topic on the net but nothing worked. I have a serverXYZ running an Angular app, a backend tomcat webapp for authentication, a nginx server. Angular app on port 4200, tomcat app on 8080. Everything is on the same…
glass
  • 25
  • 1
  • 4
2
votes
2 answers

CORS blocked by No "Access-Control-Allow-Origin" on dockerized Angular frontend app and Spring Boot dockerized backend

I have built an Angular app and created a docker image, which makes it run on an Nginx server (once it is run). For the backend, I have a dockerized implementation as well. While trying to access the data from the backend, I face the error with…
Leo
  • 21
  • 1
  • 3
1
vote
0 answers

Encrypting communication between between Microservice in my company and AWS

I am dealing with communication between microservices. Microservice A - Angular6/django Microservice B - NodeJS My Microservice A is in company network and Microservice B is in AWS. we need to find a way to communicate between them securely like…
1
vote
1 answer

nginx reverse proxy all path to an express angular nodejs app

I'm developing an app using express nodjs as backend for an API and developing the frontend with angular7. I am ready to deploy (copy) all *js, *html from the angular app build to a public/path in the express app I use nginx as a reverse proxy to my…
1
vote
1 answer

How to config Nginx to serve Angular app when the angular urls are like this http://serverpath/a/b?

I'm trying to serve an Angular(V7) app with Nginx. according to https://angular.io/guide/deployment#fallback-configuration-examples I change default Nginx config try_files $uri $uri/ =404; to try_files $uri $uri/ /index.html; My Nginx config file…
Naeiim Shiri
  • 13
  • 1
  • 4
1
vote
0 answers

Nginx with SSL maintaining appends domain name before request URL

There is an Angular application in the dockerized Nginx. The Nginx configured for https mode with a trusted SSL certificate. The Nginx config looks like: worker_processes 1; error_log /var/log/nginx/error.log warn; pid …
xxxception
  • 171
  • 1
  • 5
1
vote
0 answers

Angular application CORS issues using Nginx

My Angular application is unable to make requests to my backend. This is the Nginx configuration server { listen 0.0.0.0:443 ssl; listen [::]:443 ssl; server_name my.site.io; ssl_certificate /etc/nginx/certificates/my.site.io.crt; …
1
vote
1 answer

Angular server side rendering keeps going down to 502 errors

So I have been running my front end on the server for a few weeks now(angular Server Side rendering). I keep running into this issue where the front end goes down to a 502 error. I have to restart the server ever few hours to ensure that it is back…
Venomoustoad
  • 111
  • 2
1
vote
1 answer

WSS Connectivity issue on production

I am using Angular8 as frontend and Nodejs as backend I have Configured WSS on production ,but connection with client not working properly, In one page connection is working but in another page connection not working. websocket and server is running…
1
vote
2 answers

Is reverse proxy recommended in production environment?

We have an Angular app and a Back-end web API on .NET core. Both sites should be served over HTTPS. I currently have one Linux server. Currently I'm planning to host my Angular app on a domain (for example: https:// example.com) in nginx, all API…
mbdow
  • 9
  • 2
1
vote
0 answers

Return 404 after configure the https on Apache 2.4

I am trying to deploy a new Angular app with apache 2.4 + ubuntu 16. Angular app is the frontend app, it would call the api from backend servers. I can visit the home page, but failed with error "The requested URL was not found on this server." when…
Lambert
  • 11
  • 1
0
votes
0 answers

Deploy MEAN stack app in a subdirectory

I'm trying to host a node app on www.domain.com/nodeapp. I've already got www.domain.com website hosted on apache server. I've created a reverse proxy in apache configuration. ProxyPass /nodeapp http://localhost:3100/nodeapp ProxyPassReverse…
0
votes
1 answer

hosting an Angular app - on S3 - and WordPress - on EC2 - on the same domain, with WordPress in a subdirectory

I'm building an Angular website which will also have a small WordPress installation for the marketing/sales team (to build landing pages). our marketing team is adamant that subdomains are bad for SEO, and for GA, and would like the WordPress…
0
votes
1 answer

Gitlab CI won't serve Angular app to staging environment

I am trying to set up a pipeline that does the following: Commit new Angular code Build live review app for testing Manual push to production I have been able to successfully build the app within the pipeline using a docker file and have the proper…
punygod
  • 1
  • 1
1
2 3