diff --git a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/assets.conf b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/assets.conf new file mode 100644 --- /dev/null +++ b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/assets.conf @@ -0,0 +1,32 @@ +# ------------------------------------------------------------- +# Webserver +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# Project: Nasqueron +# Site: assets.nasqueron.org +# License: Trivial work, not eligible to copyright +# Source file: roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/assets.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 assets.nasqueron.org; + + include includes/tls; + ssl_certificate /usr/local/etc/letsencrypt/live/assets.nasqueron.org/fullchain.pem; + ssl_certificate_key /usr/local/etc/letsencrypt/live/assets.nasqueron.org/privkey.pem; + + include includes/letsencrypt; + + root /var/wwwroot/nasqueron.org/assets; + + index index.html index.php index.htm; +} + diff --git a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/docker.conf b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/docker.conf new file mode 100644 --- /dev/null +++ b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/docker.conf @@ -0,0 +1,31 @@ +# ------------------------------------------------------------- +# Webserver +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# Project: Nasqueron +# Site: docker.nasqueron.org +# License: Trivial work, not eligible to copyright +# Source file: roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/docker.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 docker.nasqueron.org; + + include includes/tls; + ssl_certificate /usr/local/etc/letsencrypt/live/docker.nasqueron.org/fullchain.pem; + ssl_certificate_key /usr/local/etc/letsencrypt/live/docker.nasqueron.org/privkey.pem; + + include includes/letsencrypt; + + root /var/wwwroot/nasqueron.org/docker; + + index index.html index.php index.htm; +} diff --git a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/ftp.conf b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/ftp.conf new file mode 100644 --- /dev/null +++ b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/ftp.conf @@ -0,0 +1,37 @@ +# ------------------------------------------------------------- +# Webserver +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# Project: Nasqueron +# Site: ftp.nasqueron.org +# License: Trivial work, not eligible to copyright +# Source file: roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/ftp.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 ftp.nasqueron.org; + + include includes/tls; + ssl_certificate /usr/local/etc/letsencrypt/live/ftp.nasqueron.org/fullchain.pem; + ssl_certificate_key /usr/local/etc/letsencrypt/live/ftp.nasqueron.org/privkey.pem; + + include includes/letsencrypt; + + root /var/wwwroot/nasqueron.org/ftp; + + index index.html index.php index.htm; + + location /pub { + root /usr/jails/ftp/var/ftp; + } + + autoindex on; +} diff --git a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/tools51.conf b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/tools51.conf new file mode 100644 --- /dev/null +++ b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/tools51.conf @@ -0,0 +1,52 @@ +# ------------------------------------------------------------- +# Webserver +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# Project: Nasqueron +# Site: tools51.nasqueron.org +# License: Trivial work, not eligible to copyright +# Source file: roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/tools51.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 { + # Maintained by Dereckson + # Staging area for https://tools.nasqueron.org + + listen 80; + listen [::]:80; + server_name tools51.nasqueron.org; + + include includes/tls; + ssl_certificate /usr/local/etc/letsencrypt/live/assets.nasqueron.org/fullchain.pem; + ssl_certificate_key /usr/local/etc/letsencrypt/live/assets.nasqueron.org/privkey.pem; + + include includes/letsencrypt; + + root /var/51-wwwroot/tools; + index index.html index.php index.htm; + + location ~* \.(js|jpg|gif|png|svg|css|txt|eot|woff|ttf)$ { + expires 30d; + } + + location = /dl.php { + include fastcgi_params; + fastcgi_param SCRIPT_FILENAME /var/51-wwwroot/tools/dl.php; + fastcgi_pass unix:/var/run/web/tools51.nasqueron.org/php-fpm.sock; + } + + location / { + rewrite ^/color/screen/(.+)$ /?Topic=color-screen&Color=$1; + + fastcgi_pass unix:/var/run/web/tools51.nasqueron.org/php-fpm.sock; + fastcgi_index index.php; + fastcgi_param SCRIPT_FILENAME /var/51-wwwroot/tools/index.php; + include fastcgi_params; + } +} diff --git a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/trustspace.conf b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/trustspace.conf new file mode 100644 --- /dev/null +++ b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/trustspace.conf @@ -0,0 +1,31 @@ +# ------------------------------------------------------------- +# Webserver +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# Project: Nasqueron +# Site: trustspace.nasqueron.org +# License: Trivial work, not eligible to copyright +# Source file: roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/trustspace.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 trustspace.nasqueron.org; + + include includes/tls; + ssl_certificate /usr/local/etc/letsencrypt/live/trustspace.nasqueron.org/fullchain.pem; + ssl_certificate_key /usr/local/etc/letsencrypt/live/trustspace.nasqueron.org/privkey.pem; + + include includes/letsencrypt; + + root /var/wwwroot/nasqueron.org/trustspace; + + index index.html index.php index.htm; +}