container-ify

This commit is contained in:
Tommy Parnell
2018-09-28 15:18:55 -04:00
parent 34baa913ad
commit 7ee7150a90
9 changed files with 3716 additions and 334 deletions

19
default.conf Normal file
View File

@@ -0,0 +1,19 @@
server {
listen 80;
server_name _;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
rewrite ^(/tags/)(.*) https://$host/tag/$2/ permanent;
rewrite ^(/rss) /rss.xml break;
absolute_redirect off;
real_ip_header X-Forwarded-For;
real_ip_recursive on;
}
error_page 500 502 503 504 /500/;
error_page 404 /404/;
}