1,035
edits
(Created page with "Up to: Part Of::Wiki <syntaxhighlight lang="nginx"> server { server_name wiki.neuromatch.social; root /var/www/html/mediawiki; index index.php; error_log /var/log/nginx/mediawiki.error; access_log /var/log/nginx/mediawiki.access; location / { try_files $uri $uri/ /index.php; } location @rewrite { rewrite ^/(.*)$ /index.php; } location ^~ /maintenance/ { return 403; } location ~ /\.ht {...") |
No edit summary |
||
Line 48: | Line 48: | ||
} | } | ||
# --------------------------------- | |||
# redirect http -> https | |||
# --------------------------------- | |||
server { | server { | ||
Line 63: | Line 68: | ||
} | } | ||
# --------------------------------- | |||
# --------------------------------- | |||
# --------------------------------- | # --------------------------------- | ||
# redirects from olde wiki domain | # redirects from olde wiki domain | ||
# --------------------------------- | |||
# --------------------------------- | |||
# --------------------------------- | # --------------------------------- | ||