File netbox.vhost-apache of Package netbox
#
# Uncomment the line.
# Change netbox.example.com to really name.
# Change location of Certification.
#
# Having done so, you can then use https://netbox.example.com
# (instead of https://netbox.example.com:8448)
# as the Custom server when Connecting to NetBox.
<IfDefine SSL>
<IfDefine !NOSSL>
#<VirtualHost *:443>
#
# SSLEngine On
# ServerName netbox.example.com
# DocumentRoot "/usr/share/netbox"
#
# Alias /static /usr/share/netbox/netbox/static
#
# #Needed to allow token-based API authentication
# WSGIPassAuthorization on
#
# ErrorLog /var/log/apache2/netbox.example.com-error_log
# TransferLog /var/log/apache2/netbox.example.com-access_log
#
# SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
#
# SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256
# SSLHonorCipherOrder on
#
# SSLCertificateFile /etc/certbot/live/netbox.example.com/cert.pem
# SSLCertificateKeyFile /etc/certbot/live/netbox.example.com/privkey.pem
# SSLCertificateChainFile /etc/certbot/live/netbox.example.com/chain.pem
#
# <Directory "/usr/share/netbox/netbox/static">
# Options Indexes FollowSymLinks MultiViews
# AllowOverride None
# Require all granted
# </Directory>
#
# <Location /static>
# ProxyPass !
# </Location>
#
# RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
# ProxyPass / unix:/run/netbox/gunicorn/socket|http://127.0.0.1/
# ProxyPassReverse / unix:/run/netbox/gunicorn/socket|http://127.0.0.1/
#
#</VirtualHost>
</IfDefine>
</IfDefine>