Mark De Deuge
fc06bc7574
Update nginx.conf to use http_host rather than host fixes #1930
...
Using proxy_set_header Host $host; does not pass through the port. This causes the /api-doc/ route to miss the port when attempting to render routes.
This fixes : #1930
2021-08-10 10:27:40 +10:00
Oliver Walters
acd7322ff0
Files under /media require session to be authenticated
...
References:
- https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/apache-auth/
- https://stackoverflow.com/questions/46421589/nginx-location-and-django-auth
- https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-subrequest-authentication/
- https://pawamoy.github.io/posts/django-auth-server-for-shiny/
2021-06-16 21:30:25 +10:00
Oliver Walters
058fc57ff1
Serve media files via nginx
2021-06-16 20:57:24 +10:00
Matthias
d8769748f5
config
2021-05-06 14:46:32 +02:00
Oliver Walters
52deb20e85
docker-compose improvements
...
- Prepend "inventree" to the name of each container
- Explicitly expose more env variables required for InvenTree db lookup
- Adjust server name in nginx-conf file
2021-04-22 12:15:25 +10:00
Matthias
fdf3e3a333
added expiry headers to nginx-docker #1485
2021-04-20 18:45:59 +02:00
Oliver Walters
0926992b4f
Updated nginx conf
2021-04-18 18:53:30 +10:00
Oliver Walters
d8e1e18f4d
change web -> inventree
2021-04-18 17:21:06 +10:00
Oliver Walters
270c0ea85d
Cleanup docker files
2021-04-18 15:24:33 +10:00