30 lines
681 B
Nginx Configuration File
30 lines
681 B
Nginx Configuration File
# -*-nginx-*-
|
|
server {
|
|
listen 80;
|
|
server_name ticket.fet.at;
|
|
|
|
include snippets/letsencrypt.conf;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
server_name ticket.fet.at;
|
|
|
|
ssl_certificate /etc/letsencrypt/live/ticket.fet.at/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/ticket.fet.at/privkey.pem;
|
|
ssl_trusted_certificate /etc/letsencrypt/live/ticket.fet.at/chain.pem;
|
|
include snippets/ssl.conf;
|
|
|
|
location / {
|
|
proxy_pass http://proteus;
|
|
include snippets/proxy_header.conf;
|
|
}
|
|
|
|
location /pma {
|
|
proxy_pass http://proteus/pma;
|
|
include snippets/proxy_header.conf;
|
|
|
|
include snippets/ldap.conf;
|
|
}
|
|
}
|