Page MenuHomeDevCentral

/tmp/netbox.conf

Authored By
dereckson
Nov 20 2023, 21:38
Size
1 KB
Referenced Files
None
Subscribers
None

/tmp/netbox.conf

# -------------------------------------------------------------
# Webserver
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Site: netbox.nasqueron.org
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
server {
# Maintained by Dorian
listen 80;
listen [::]:80;
server_name netbox.nasqueron.org;
include includes/letsencrypt;
return 301 https://$host$request_uri;
}
server {
server_name netbox.nasqueron.org;
include includes/tls;
ssl_certificate /usr/local/etc/letsencrypt/live/netbox.nasqueron.org/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/netbox.nasqueron.org/privkey.pem;
include includes/letsencrypt;
client_max_body_size 25m;
location /static/ {
alias /srv/netbox/netbox/netbox/static/;
}
location / {
proxy_pass http://127.0.0.1:17000;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
}

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1513736
Default Alt Text
/tmp/netbox.conf (1 KB)

Event Timeline