53 lines
966 B
Plaintext
53 lines
966 B
Plaintext
server {
|
|
listen 8080;
|
|
server_name _;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
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;
|
|
|
|
location = /config.js {
|
|
add_header Cache-Control "no-store";
|
|
try_files $uri =404;
|
|
}
|
|
|
|
location /.well-known/ {
|
|
proxy_pass http://127.0.0.1:3000;
|
|
}
|
|
|
|
location /oidc/ {
|
|
proxy_pass http://127.0.0.1:3000;
|
|
}
|
|
|
|
location /interaction/ {
|
|
proxy_pass http://127.0.0.1:3000;
|
|
}
|
|
|
|
location /auth/ {
|
|
proxy_pass http://127.0.0.1:3000;
|
|
}
|
|
|
|
location /account/ {
|
|
proxy_pass http://127.0.0.1:3000;
|
|
}
|
|
|
|
location /admin/ {
|
|
proxy_pass http://127.0.0.1:3000;
|
|
}
|
|
|
|
location /password/ {
|
|
proxy_pass http://127.0.0.1:3000;
|
|
}
|
|
|
|
location /registration/ {
|
|
proxy_pass http://127.0.0.1:3000;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
}
|