[2.4.3] Add Docker Support, Make Address Optional

This commit is contained in:
Amruth Pillai
2020-12-24 11:08:59 +05:30
parent c1cc9d0a69
commit 85a489cefa
15 changed files with 92 additions and 51 deletions

19
server.conf Normal file
View File

@ -0,0 +1,19 @@
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
autoindex off;
charset urtf-8;
error_page 404 /404.html;
location ~* \.(html)$ {
add_header Cache-Control "no-store";
expires off;
}
rewrite ^([^.\?]*[^/])$ $1/ permanent;
try_files $uri $uri/ $uri/index.html =404;
}