Questions tagged [angular]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

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 ...
0
votes
0answers
17 views

nginx returning 405 method not allowed for node apis with localized angular folders

I did changes in ngnix file to make it work for localized angular dist folder with multiple languages. client side application working properly with url routing etc but node apis for authentication ...
1
vote
1answer
40 views

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 ...
0
votes
0answers
26 views

Installation of Angular on Windows for multiple users

We are setting up a server that will be used by all application developers for our organization. One of the things I'm told we need, is nodejs, and then an Angular installation. It seems that ...
0
votes
1answer
28 views

Apache config for frontend https + Backend http

I have a server running on Linode that has 3 subdomains. Every subdomain is a diferent Angular 8 Application and have it´s own backend. xyz.example.com xyz.example.com:8080 abc.example.com abc....
0
votes
0answers
119 views

How to point angular front end style folder in Nginx config file

I have two different angular applications, both serving on two different servers, and a proxy server to handle the request from both servers. But both angular build serves their style from a folder ...
1
vote
1answer
80 views

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 ...
0
votes
0answers
343 views

SSL Error: How to use Nginx with Node.js App using Angular and websocket

I am running into an SSL error when setting up Nginx as a reverse proxy for a Node.js app. This app uses Angular to serve dynamic content and for WebSocket, we use ws. WS working properly but when ...
1
vote
2answers
1k views

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 (...
0
votes
0answers
13 views

502 Bad Gateway while installing angular with nginx and pm2 [duplicate]

Hi i have problem with installing angular with nginx and pm2 i think i installed all prerequisites tools to installing angular on ubuntu ec2 with nginx but i always get the error 502 bad gateway my ...
0
votes
0answers
22 views

Angular post request refused, but nodejs post request works

I have an express app which listening on port 5000 like this: app.listen(5000, "0.0.0.0, ()=>'Server started on' + 'port ' + 5000). When I try to send a post request by node script using axios ...
0
votes
0answers
384 views

Nginx - Angular not passing Authorization header

This is the schematic of my microservices setup: To put in words: request comes from browser nginx reverses proxy the request to the angular container angular container makes request to the backend ...
1
vote
2answers
95 views

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 ...
1
vote
1answer
3k views

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, ...
0
votes
0answers
53 views

Disable nginx redirect me when query params included in url

I have public access to file: https://myapp.com/front/assets/i18n/pl.json But when I add query params: https://myapp.com/front/assets/i18n/pl.json?foo=bar Then nginx redirect me to: https://myapp.com/...
0
votes
1answer
920 views

Docker apache and angular

I have an Apache server (in docker) that distributes to several applications. I have an application in Angular that I want to deploy on my server, but when accessing through the domain, it is giving a ...
0
votes
0answers
592 views

Nginx server configuration hosting an Angular app and proxying requests of the API calls

How one is able to proxy the requests (or the API calls) of an Angular app hosted on Nginx towards backend running on a docker container having another port value (the Angular app is also dokcerized)? ...
2
votes
2answers
5k views

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 ...
1
vote
0answers
38 views

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 "...
0
votes
1answer
558 views

Nginx not able to redirect js , css, jpeg files

Please find by nginx.conf file as below : server { listen 81; server_name www.mysite.com; root /home/ubuntu/mysite/dist; index index.php index.html index.htm; charset utf-8; ...
0
votes
0answers
38 views

Understanding angular frontend and elixir backend relationship

I am running a kubernetes cluster on an openstack cloud and have a pod each for my angular frontend and my phoenix/elixir backend. When the user first calls the frontend through an ingress exposed ...
0
votes
1answer
433 views

Nginx und Tomcat For Spring and Angular App

I have Spring boot and Angular app in Tomcat Container deployed on Server. It works totally fine on localhost. Now I am trying to map my domain with the application. When I call my domain then API ...
0
votes
1answer
653 views

How to configure lighttpd to serve an Angular 8 application?

I would like to run an Angular 8 app on lighttpd webserver installed on a Raspberry Pi. Unfortunately the app stops loading immediately leaving a blank browser screen. No error in browser console, no ...
0
votes
0answers
24 views

Why does the access.log nginx file contain two different agent users for a single request?

I try to debugg an Angular error with an online Webbrowser Simulator "Saucelabs.com" running Safari. When I watch my debugg file on the nginx in access.log I see the following line: xxx.xxx.xxx.xxx - ...
2
votes
1answer
171 views

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 ...
1
vote
0answers
44 views

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 ...
1
vote
1answer
2k views

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 ...
0
votes
0answers
167 views

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:...
-1
votes
1answer
56 views

AWS Application load balancer in switching between two frontends

I have two angular6 frontends, one running on port 4000, the second running on 4100. Do a Dockerized push to ECR and create two task definitions ... create cluster and then 2 services of these two ...
1
vote
1answer
6k views

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 ...
0
votes
1answer
386 views

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,...
1
vote
0answers
55 views

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/...
0
votes
1answer
282 views

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 ...
0
votes
1answer
760 views

How to serve wordpress (LAMP) and Angular (Node/Express) app on same server/domain

I'm currently running a web server with Ubuntu 16.04, serving up a Wordpress site, using LAMP stack and LetsEncrypt SSL to encrypt the website. I'd like to be able to run an Angular app with the MEAN ...