Skip to content
Snippets Groups Projects
Commit 2110d508 authored by Sam Kagan's avatar Sam Kagan
Browse files

Fixed issues with local Nginx config

parent 35afe5fe
No related branches found
Tags 2.4.4-rc1
2 merge requests!25Merge 2.4.3 UI to main,!21Added tiles checklist for Accept-and-Archiving calibration jobs
......@@ -18,7 +18,7 @@ A service in angular will capture this info and add it to a service
window.__env.configUrl = 'https://archive-new.nrao.edu/VlassMngr/services/configuration';
break;
case 'localhost':
window.__env.configUrl = 'http://localhost:4444/api/VlassMngr/services/configuration';
window.__env.configUrl = 'http://localhost:4444/VlassMngr/services/configuration';
break;
default:
window.__env.configUrl = 'https://webtest.aoc.nrao.edu/VlassMngr/services/configuration';
......
......@@ -22,19 +22,14 @@ server {
location / {
proxy_pass http://localhost:4200;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}
location /api/ {
proxy_pass http://webtest.aoc.nrao.edu/;
proxy_http_version 1.1;
location /VlassMngr {
proxy_pass http://localhost:8081/VlassMngr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
}
# error_page 500 502 503 504 /50x.html;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment