Advertisement
Guest User

netbox apaceh2 config

a guest
Nov 13th, 2023
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <VirtualHost *:80>
  2. Alias /static /opt/netbox/netbox/static
  3.  
  4. <Directory /opt/netbox/netbox/static>
  5. Options Indexes FollowSymLinks MultiViews
  6. AllowOverride None
  7. Require all granted
  8. </Directory>
  9.  
  10. <Location /static>
  11. ProxyPass !
  12. </Location>
  13.  
  14. RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
  15. ProxyPass / http://127.0.0.1:8001/
  16. ProxyPassReverse / http://127.0.0.1:8001/
  17.  
  18. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement