lj-packer/files/nginx/laser.conf
2020-09-24 15:45:46 +02:00

22 lines
389 B
Plaintext

server {
listen 80;
listen [::]:80;
server_name _;
root /opt/LJ/www;
return 301 https://localhost$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name _;
ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;
root /opt/LJ/www;
index index.html index.htm;
}