Page MenuHomeDevCentral

www51.conf
No OneTemporary

www51.conf

# -------------------------------------------------------------
# Webserver
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Site: www51.dereckson.be
# License: Trivial work, not eligible to copyright
# Source file: roles/webserver-alkane/nginx/files/vhosts/dereckson.be/www51.conf
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
# -------------------------------------------------------------
# Staging area
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
server {
listen 80;
listen [::]:80;
server_name www51.dereckson.be;
include includes/tls;
ssl_certificate /usr/local/etc/letsencrypt/live/www51.dereckson.be/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/www51.dereckson.be/privkey.pem;
error_log /var/log/www/dereckson.be/www51-error.log;
access_log /var/log/www/dereckson.be/www51-access.log;
root /var/51-wwwroot/dereckson-www;
include includes/letsencrypt;
location = /maintenance.html { }
error_page 503 /maintenance.html;
location ~ ^/photos/(?<date>([0-9]*)).html$ {
# If there is no gallery file prepared
# the main photo handler is happy to
# include the JPEG with metadata from db
try_files @app /photos/?date=$date;
}
# Legacy tool URL
location /tools/SourceTemplatesGenerator {
return 301 https://tools.nasqueron.org/wikimedia/write/sourcetemplatesgenerator/;
}
# Wordpress isn't staged
location /blog {
return 301 https://www.dereckson.be$request_uri;
}
location /Blog { return 503; }
include includes/pluton;
}

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 22, 12:08 (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3091832
Default Alt Text
www51.conf (1 KB)

Event Timeline