Page MenuHomeDevCentral
Paste P344

/tmp/netbox.conf
ActivePublic

Authored by dereckson on Nov 20 2023, 21:38.
Tags
None
Referenced Files
F2378718: /tmp/netbox.conf
Nov 20 2023, 21:38
Subscribers
None
# -------------------------------------------------------------
# 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;
}
}

Event Timeline

dereckson mentioned this in Unknown Object (Maniphest Task).Nov 20 2023, 21:40