Add labor server proxy pass
This commit is contained in:
25
fet.at/lab.conf
Normal file
25
fet.at/lab.conf
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# -*-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;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user