victorina
This commit is contained in:
parent
ef56ba2f09
commit
a62fd823bf
27
80.conf
27
80.conf
@ -151,16 +151,25 @@ server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# server {
|
server {
|
||||||
# listen 80;
|
listen 443 ssl http2;
|
||||||
# index index.php index.html index.htm index.nginx-debian.html;
|
listen [::]:443 ssl http2;
|
||||||
# server_name victorina.inno-js.ru;
|
index index.php index.html index.htm index.nginx-debian.html;
|
||||||
# root /home/ijl/ijl/apps/petrus/dist;
|
|
||||||
|
|
||||||
# location / {
|
server_name victorina.inno-js.ru;
|
||||||
# try_files $uri $uri/ /index.html;
|
|
||||||
# }
|
ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
|
||||||
# }
|
ssl_certificate_key /etc/letsencrypt/live/inno-js.ru/privkey.pem;
|
||||||
|
ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
|
||||||
|
|
||||||
|
root /home/ijl/ijl/apps/petrus/dist;
|
||||||
|
|
||||||
|
include /etc/nginx/snippets/ssl-params.conf;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# server {
|
# server {
|
||||||
# listen 80;
|
# listen 80;
|
||||||
|
Loading…
Reference in New Issue
Block a user