update
This commit is contained in:
25
docker/nginx/updatesdashboard.conf
Normal file
25
docker/nginx/updatesdashboard.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
server {
|
||||
listen 3000;
|
||||
server_name updates-dashboard.hyrule.ovh;
|
||||
|
||||
# css, js…
|
||||
location /static {
|
||||
alias /app/static;
|
||||
}
|
||||
|
||||
if ($request_uri !~ "^/admin.*") {
|
||||
# don't rewrite admin
|
||||
rewrite ^/(.*)/$ /$1 permanent;
|
||||
}
|
||||
|
||||
location / {
|
||||
include proxy_params;
|
||||
proxy_pass http://127.0.0.1:3001;
|
||||
proxy_connect_timeout 120s;
|
||||
proxy_read_timeout 300s;
|
||||
|
||||
}
|
||||
|
||||
error_log /var/log/updatesdashboard-error.log;
|
||||
access_log /var/log/updatesdashboard-access.log;
|
||||
}
|
||||
Reference in New Issue
Block a user