Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Paste
P344
/tmp/netbox.conf
Active
Public
Actions
Authored by
dereckson
on Nov 20 2023, 21:38.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F2378718: /tmp/netbox.conf
Nov 20 2023, 21:38
2023-11-20 21:38:46 (UTC+0)
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
created this paste.
Nov 20 2023, 21:38
2023-11-20 21:38:46 (UTC+0)
dereckson
mentioned this in
Unknown Object (Maniphest Task)
.
Nov 20 2023, 21:40
2023-11-20 21:40:31 (UTC+0)
Log In to Comment