remove unused nginx configuration
This commit is contained in:
@@ -1,108 +0,0 @@
|
||||
server {
|
||||
listen 80;
|
||||
location /facette/ {
|
||||
|
||||
# facette
|
||||
proxy_pass http://host:2003;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
}
|
||||
location /dagster {
|
||||
|
||||
# dagster
|
||||
proxy_pass http://host:3000;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
}
|
||||
location /app {
|
||||
# app
|
||||
proxy_pass http://host:4567/;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
}
|
||||
location /pgadmin/ {
|
||||
# pgadmin
|
||||
proxy_pass http://host:5050/;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
proxy_set_header X-Script-Name /pgadmin;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
# dagster
|
||||
listen 80;
|
||||
server_name dagster.rik.veenboer.xyz;
|
||||
location / {
|
||||
proxy_pass http://host:3000;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
# app
|
||||
listen 80;
|
||||
server_name app.rik.veenboer.xyz;
|
||||
location / {
|
||||
proxy_pass http://host:4567;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
include /etc/nginx/conf/proxy-headers.conf;
|
||||
|
||||
proxy_set_header X-Domain app;
|
||||
}
|
||||
include /etc/nginx/conf/vouch.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
# other-app
|
||||
listen 80;
|
||||
server_name other-app.rik.veenboer.xyz;
|
||||
location / {
|
||||
auth_request /vouch/validate;
|
||||
proxy_pass http://host:4567;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
include /etc/nginx/conf/proxy-headers.conf;
|
||||
|
||||
proxy_set_header X-Domain other-app;
|
||||
}
|
||||
|
||||
include /etc/nginx/conf/vouch-path.conf;
|
||||
|
||||
# If the user is not logged in, redirect them to Vouch's login URL
|
||||
location @error401 {
|
||||
return 302 https://other-app.rik.veenboer.xyz/vouch/login?url=$scheme://$http_host$request_uri&vouch-failcount=$auth_resp_failcount&X-Vouch-Token=$auth_resp_jwt&error=$auth_resp_err;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
# vouch
|
||||
listen 80;
|
||||
server_name vouch.rik.veenboer.xyz;
|
||||
location / {
|
||||
proxy_pass http://host:9090;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
# keycloak
|
||||
listen 80;
|
||||
server_name keycloak.rik.veenboer.xyz;
|
||||
location / {
|
||||
proxy_pass http://host:18080/;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
proxy_hide_header Content-Security-Policy;
|
||||
proxy_set_header Content-Security-Policy upgrade-insecure-requests;
|
||||
#proxy_set_header Host $host;
|
||||
#proxy_set_header X-Real-IP $remote_addr;
|
||||
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
#proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
# aim
|
||||
listen 80;
|
||||
server_name aim.rik.veenboer.xyz;
|
||||
location / {
|
||||
proxy_pass http://host:43800;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user