瀏覽代碼

Added WSGIPassAuthorization to example Apache config

Jeremy Stretch 9 年之前
父節點
當前提交
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