26 lines
624 B
Nginx Configuration File
26 lines
624 B
Nginx Configuration File
# -*-nginx-*-
|
|
server {
|
|
listen 80;
|
|
server_name lab.fet.at;
|
|
|
|
include snippets/letsencrypt.conf;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
server_name lab.fet.at;
|
|
|
|
ssl_certificate /etc/letsencrypt/live/lab.fet.at/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/lab.fet.at/privkey.pem;
|
|
ssl_trusted_certificate /etc/letsencrypt/live/lab.fet.at/chain.pem;
|
|
include snippets/ssl.conf;
|
|
|
|
include snippets/ldap.conf;
|
|
|
|
location / {
|
|
# proxy_pass http://fetlabserv.fet.htu.tuwien.ac.at:8765;
|
|
proxy_pass http://127.0.0.1:8765;
|
|
include snippets/proxy_header.conf;
|
|
}
|
|
}
|