32 lines
831 B
Nginx Configuration File
32 lines
831 B
Nginx Configuration File
# -*-nginx-*-
|
|
server {
|
|
listen 80;
|
|
server_name infoscreen.fet.at;
|
|
|
|
include snippets/letsencrypt.conf;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
server_name infoscreen.fet.at;
|
|
|
|
ssl_certificate /etc/letsencrypt/live/infoscreen.fet.at/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/infoscreen.fet.at/privkey.pem;
|
|
ssl_trusted_certificate /etc/letsencrypt/live/infoscreen.fet.at/chain.pem;
|
|
include snippets/ssl.conf;
|
|
|
|
include snippets/header.conf;
|
|
|
|
location / {
|
|
proxy_pass http://proteus;
|
|
include snippets/proxy_header.conf;
|
|
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' ";
|
|
}
|
|
#location /da/daten {
|
|
# proxy_pass http://proteus;
|
|
# include snippets/proxy_header.conf;
|
|
#
|
|
# include snippets/ldap.conf;
|
|
#}
|
|
}
|