This commit is contained in:
monster
2018-12-30 14:13:57 +03:00
parent e311c31b88
commit 2033fe79e4
225 changed files with 6370 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
server {
listen 80 default_server;
listen 443 default ssl;
root /config/www;
index index.html index.htm index.php;
server_name _;
ssl_certificate /config/keys/cert.crt;
ssl_certificate_key /config/keys/cert.key;
client_max_body_size 0;
#letsencrypt challenge response
location ~/.well-known/acme-challenge/(.*)$ {
return 200 '$1';
}
location / {
try_files $uri $uri/ /index.html /index.php?$args =404;
}
}