It's a open-source (web) application platform intended for front-ends and is based on TypeScript programming language.
Questions tagged [angular]
48 questions
3
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
- 35
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…
MindlessRouse
- 121
2
votes
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
- 121
2
votes
2 answers
Angular and IIS. Redirect to HTTPS keeping full uRL
I have to redirect a full URL from HTTP to HTTPS for an Angular app that needs to be hosted on an IIS server.
I created the following rules, but it is not working, it only works with the main domain (like http://www.somedomain.com, it redirects just…
Pablo Varela
- 123
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
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…
Raveendar V
- 11
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
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
vote
1 answer
Issue with IIS Hosting: DNS_PROBE_FINISHED_NXDOMAIN when Reloading
I have a project hosted on IIS that works fine most of the time. Sometimes reloading the page results in the error:
"This site can't be reached. Check if there is a typo in esuport.mm.local. If spelling is correct, try running Windows Network…
Jurges Lika
- 11
1
vote
0 answers
Openshift nginx proxy_pass not redirecting from current host to another
This is my DockerFile
FROM docker-enterprise.net/developers-nginx/nginx1.22/rhel8/nginx-rhel8:latest
USER root
RUN mkdir /.ionicsecurity && \
chmod 775 /.ionicsecurity && \
mkdir /nginxapps && \
mkdir /nginxapps/html && \
…
Pat
- 111
- 1
- 4
1
vote
1 answer
Nginx Reverse Proxy do not load JS and CSS from other server
I have two version of a WebApp, running on two different servers (prod and dev). Prod version is available on exemple.com, and dev version on exemple.com/dev. However, when I set the proxy to load dev version, only the index.html file is loaded, JS…
Guix
- 113
1
vote
1 answer
Npm install and ng build takes 35-40min
I have environment:
Jenkins
Docker
proxmox with vm and lxc container
angular 9 project
Problem is with my Dockerfile building, it takes around 35-40min.
My dockerfile
FROM node:12.6-stretch
ARG ABSOLUTE_PATH=./app
ARG build_command="node…
PawelC
- 199
1
vote
1 answer
1 rewrite or internal redirection cycle while internally redirecting to "/en/index.html"
I want to host the Angular i18n website using the Nginx proxy.
As per the official Nginx configuration suggestion https://angular.io/guide/i18n-common-deploy#nginx-example, my app.conf file in the /etc/nginx/site-available directory is like
map…
Anuj TBE
- 121
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;
…
Antonio Santoro
- 111