Просмотр исходного кода

Added WSGIPassAuthorization to example Apache config

Jeremy Stretch 8 лет назад
Родитель
Сommit
92aafb9043
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      docs/installation/web-server.md

+ 3 - 0
docs/installation/web-server.md

@@ -73,6 +73,9 @@ Once Apache is installed, proceed with the following configuration (Be sure to m
 
     Alias /static /opt/netbox/netbox/static
 
+    # Needed to allow token-based API authentication
+    WSGIPassAuthorization on
+
     <Directory /opt/netbox/netbox/static>
         Options Indexes FollowSymLinks MultiViews
         AllowOverride None