1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-10-03 22:17:08 +02:00

add nginx listen 443 and certs to default config

This commit is contained in:
GilbN 2022-03-27 16:24:02 +02:00
parent 13768ba606
commit 7acfcbd274

View File

@ -1,9 +1,14 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name _;
ssl_certificate /config/keys/cert.crt;
ssl_certificate_key /config/keys/cert.key;
root /config/www;
index index.html index.htm index.php;