24 lines
560 B
Nginx Configuration File
24 lines
560 B
Nginx Configuration File
# -*-nginx-*-
|
|
server {
|
|
listen 80;
|
|
server_name cloud.young.ove.at;
|
|
|
|
include snippets/letsencrypt.conf;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
server_name cloud.young.ove.at;
|
|
|
|
# ssl_certificate /etc/letsencrypt/live/cloud.young.ove.at/fullchain.pem;
|
|
# ssl_certificate_key /etc/letsencrypt/live/cloud.young.ove.at/privkey.pem;
|
|
# ssl_trusted_certificate /etc/letsencrypt/live/cloud.young.ove.at/chain.pem;
|
|
# include snippets/ssl.conf;
|
|
|
|
include snippets/header.conf;
|
|
|
|
location / {
|
|
return 302 https://young.ove.at;
|
|
}
|
|
}
|