Changeset View
Changeset View
Standalone View
Standalone View
roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/www.conf
- This file was added.
# ------------------------------------------------------------- | |||||
# Webserver | |||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |||||
# Project: Nasqueron | |||||
# Site: www.nasqueron.org | |||||
# License: Trivial work, not eligible to copyright | |||||
# Source file: roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/www.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> | |||||
# ------------------------------------------------------------- | |||||
# Main site | |||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |||||
server { | |||||
listen 80; | |||||
listen [::]:80; | |||||
server_name www.nasqueron.org; | |||||
include includes/tls; | |||||
ssl_certificate /usr/local/etc/letsencrypt/live/www.nasqueron.org/fullchain.pem; | |||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/www.nasqueron.org/privkey.pem; | |||||
include includes/letsencrypt; | |||||
root /var/wwwroot/nasqueron.org/www; | |||||
index index.html index.php index.htm; | |||||
location = /sites.json { | |||||
proxy_pass https://api.nasqueron.org/sites.json; | |||||
} | |||||
} | |||||
# ------------------------------------------------------------- | |||||
# Staging area | |||||
# Maintained by Dereckson | |||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |||||
server { | |||||
listen 80; | |||||
listen [::]:80; | |||||
server_name www51.nasqueron.org; | |||||
include includes/tls; | |||||
ssl_certificate /usr/local/etc/letsencrypt/live/www51.nasqueron.org/fullchain.pem; | |||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/www51.nasqueron.org/privkey.pem; | |||||
include includes/letsencrypt; | |||||
root /var/51-wwwroot/www; | |||||
index index.html index.php index.htm; | |||||
# We intentionally skip /sites.json, as we want to use directly in JS code api.n.o/sites.json | |||||
} |
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator