15 lines
362 B
Plaintext
15 lines
362 B
Plaintext
|
server {
|
||
|
listen 80;
|
||
|
server_name nextcloud.tronnet.net;
|
||
|
rewrite ^(.*) https://$host$1 permanent;
|
||
|
}
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
server_name nextcloud.tronnet.net;
|
||
|
include /etc/nginx/snippets/ssl-params.conf;
|
||
|
location / {
|
||
|
proxy_pass http://nextcloud2.dmz:11000;
|
||
|
include /etc/nginx/snippets/proxy-params.conf;
|
||
|
}
|
||
|
}
|