mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-30 10:12:37 +02:00
Enable basic auth passthrough for API (#303)
* Enable basic auth passthrough for API Added the couple of apache configuration lines necessary to get the basic authentication working for the API. * Revert the addition of "AuthType Basic" Did some more testing on my server here and I totally agree, don't need "AuthType Basic".
This commit is contained in:
parent
c002cdbf94
commit
4ab8863eb2
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
WSGIDaemonProcess ihatemoney user=www-data group=www-data threads=5 python-path={{ pkg_path }} {% if venv_path %}python-home={{ venv_path }}{% endif %}
|
WSGIDaemonProcess ihatemoney user=www-data group=www-data threads=5 python-path={{ pkg_path }} {% if venv_path %}python-home={{ venv_path }}{% endif %}
|
||||||
WSGIScriptAlias / {{ pkg_path }}/wsgi.py
|
WSGIScriptAlias / {{ pkg_path }}/wsgi.py
|
||||||
|
WSGIPassAuthorization On
|
||||||
|
|
||||||
ErrorLog /var/log/apache2/ihatemoney.example.com_error.log
|
ErrorLog /var/log/apache2/ihatemoney.example.com_error.log
|
||||||
CustomLog /var/log/apache2/ihatemoney.example.com_access.log combined
|
CustomLog /var/log/apache2/ihatemoney.example.com_access.log combined
|
||||||
|
|
Loading…
Reference in a new issue