diff --git a/pillar/webserver/sites.sls b/pillar/webserver/sites.sls --- a/pillar/webserver/sites.sls +++ b/pillar/webserver/sites.sls @@ -49,6 +49,7 @@ - assets - docker - ftp + - launch - packages - trustspace wolfplex.org: diff --git a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/launch.conf b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/launch.conf new file mode 100644 --- /dev/null +++ b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/launch.conf @@ -0,0 +1,40 @@ +# ------------------------------------------------------------- +# Webserver +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# Project: Nasqueron +# Site: launch.nasqueron.org +# License: Trivial work, not eligible to copyright +# Source file: roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/launch.conf +# ------------------------------------------------------------- +# +# +# 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. +# + +server { + listen 80; + listen [::]:80; + server_name launch.nasqueron.org; + + include includes/letsencrypt; + + return 301 https://launch.nasqueron.org$request_uri; +} + +server { + server_name launch.nasqueron.org; + + include includes/tls; + ssl_certificate /usr/local/etc/letsencrypt/live/launch.nasqueron.org/fullchain.pem; + ssl_certificate_key /usr/local/etc/letsencrypt/live/launch.nasqueron.org/privkey.pem; + + error_log /var/log/www/nasqueron.org/launch-error.log; + access_log /var/log/www/nasqueron.org/launch-access.log; + + root /var/wwwroot/nasqueron.org/launch; + + include includes/letsencrypt; +}