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
-1
votes
0answers
11 views

Access to XMLHttpRequest at 'http://localhost:3000/users/login' from origin 'http://' has been blocked by CORS policy:

I have deployed my project here: http://95.216.132.229/ using nginx and pm2. But when I try to login/signup it gives me: Access to XMLHttpRequest at 'http://localhost:3000/users/login' from origin '...
0
votes
0answers
17 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
33 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)? ...
1
vote
2answers
70 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
35 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
0answers
19 views

Mean stack running o apache running slow

I have a mean stack running in an apache server. I have to restart the server from time to time, I have no idea why, in order for it to load: it loads for a short amount of times, then starts to ...
0
votes
1answer
85 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
18 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
99 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
0answers
34 views

How to make backend (Flask) to be only accessible from frontend (Angular) on Apache?

I host Angular app (port 443) and Flask app with mod_wsgi (port 5000) using Apache 2.4. For now the backend app is visible globally over the Internet. I want it to be only accessible through the ...
0
votes
1answer
204 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 - ...
0
votes
0answers
12 views

Compression and decompression of responses .NET CORE

I want to compress my responses in the back using .NET core but the problem is that if I want to decompress those responses in the front with Angular 8 I don't know how to do it. How can I make this ...
2
votes
1answer
101 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
26 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 ...
0
votes
0answers
84 views

Parse Server CORS Error in Javascript SDK

We are using back4app as our database and Microsoft azure for our front end application. For linking front end application (published in Microsoft azure) to the database (Back4app) we have included ...
0
votes
0answers
78 views

not able to open Angular route with parameters on nginx - Instead returning 404 Not Found

This is my nginx config file. I want my angular app to open with this url:localhost:8070/GMMScoreUI/:id/:id1/:id2. But I am able to see 404 Not Found when I run it on nginx locally. COuld you please ...
1
vote
1answer
1k 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
64 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:...
0
votes
0answers
8 views

How to host a nodejs website with both New and Old version,

I am launching website with new features with complete New UI. To prevent users from confusing I also wants users to have an option revert to old website if they want. My project is nodejs and ...
-1
votes
1answer
54 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
2k 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
258 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
46 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
237 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
540 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 ...