Files
nginx-proxy/conf.d/triton20.fet.at/patrick.conf
2022-08-14 07:35:33 +00:00

46 lines
1.2 KiB
Plaintext

server {
listen 443 ssl http2;
server_name patrick.triton20.fet.at;
include ssl.conf;
include ldap.conf;
client_max_body_size 1000M;
location / {
include secure.conf;
include proxy.conf;
proxy_pass http://triton20:8107;
proxy_set_header Authorization "";
proxy_set_header REMOTE_USER $remote_user;
#proxy_pass_header content-security-policy; ##pet, 3.1.22
}
location /dev {
include proxy.conf;
proxy_pass http://triton20:8107;
# include snippets/proxy_header.conf;
proxy_set_header Authorization "";
proxy_set_header REMOTE_USER $remote_user;
}
location /etherpad {
include proxy.conf;
proxy_pass http://triton20:8107;
# include snippets/proxy_header.conf;
proxy_set_header Authorization "";
proxy_set_header REMOTE_USER $remote_user;
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval'";
}
location /admin {
include proxy.conf;
proxy_pass http://triton20:8107;
# include snippets/proxy_header.conf;
proxy_set_header Authorization "";
proxy_set_header REMOTE_USER $remote_user;
}
}