32 lines
694 B
Nginx Configuration File
32 lines
694 B
Nginx Configuration File
# -*-nginx-*-
|
|
server {
|
|
listen 80;
|
|
server_name discord.fet.at;
|
|
|
|
include snippets/letsencrypt.conf;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
server_name discord.fet.at;
|
|
|
|
ssl_certificate /etc/letsencrypt/live/discord.fet.at/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/discord.fet.at/privkey.pem;
|
|
ssl_trusted_certificate /etc/letsencrypt/live/discord.fet.at/chain.pem;
|
|
include snippets/ssl.conf;
|
|
|
|
include snippets/header.conf;
|
|
|
|
location / {
|
|
return 302 https://discord.gg/7qRuuMA;
|
|
}
|
|
|
|
#location /LVA/LVAs {
|
|
# proxy_pass http://proteus;
|
|
# include snippets/proxy_header.conf;
|
|
#
|
|
# include snippets/ldap.conf;
|
|
#}
|
|
|
|
}
|