Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F52699118
001-server.conf
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
001-server.conf
View Options
# -------------------------------------------------------------
# Nginx :: server homepage and home directories
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/devserver/webserver-home/files/001-server.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>
server {
listen 80;
listen [::]:80;
server_name {{ fqdn }} {{ hostname }}.nasqueron.drake localhost {{ ips }};
include includes/tls;
ssl_certificate /usr/local/etc/letsencrypt/live/{{ fqdn }}/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/{{ fqdn }}/privkey.pem;
include includes/letsencrypt;
###
### Cover pages
###
root /var/wwwroot/nasqueron.org/{{ hostname }};
index index.html index.htm;
###
### API
###
location ~ ^/datasources/.*\.json(/|$) {
include includes/cors-open;
}
###
### public_html user directories
###
set $userdir public_html;
location ~ ^/~(.+?)(/.*)?$ {
alias /var/home-wwwroot/$1$2;
index index.html index.htm;
autoindex on;
charset utf-8;
}
###
### Misc directories
###
location /poudriere {
alias /usr/local/poudriere/data/logs/bulk;
autoindex on;
}
###
### Upload for wurf
###
location /upload {
proxy_pass http://localhost:8080;
include includes/proxy_upload_params;
proxy_redirect off;
client_max_body_size 1G;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 6, 02:29 (23 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3964363
Default Alt Text
001-server.conf (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment