mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 12:30:15 +02:00
[ADD] Favicon redirect to Nginx docs
This commit is contained in:
parent
749ece45e2
commit
ec536c66a0
@ -83,8 +83,6 @@ server {
|
|||||||
|
|
||||||
server_name example.com;
|
server_name example.com;
|
||||||
|
|
||||||
location = /favicon.ico { access_log off; log_not_found off; }
|
|
||||||
|
|
||||||
location /static {
|
location /static {
|
||||||
alias /var/www/myauth/static;
|
alias /var/www/myauth/static;
|
||||||
autoindex off;
|
autoindex off;
|
||||||
@ -94,6 +92,10 @@ server {
|
|||||||
alias /var/www/myauth/static/robots.txt;
|
alias /var/www/myauth/static/robots.txt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /favicon.ico {
|
||||||
|
alias /var/www/myauth/static/allianceauth/icons/favicon.png;
|
||||||
|
}
|
||||||
|
|
||||||
# Gunicorn config goes below
|
# Gunicorn config goes below
|
||||||
location / {
|
location / {
|
||||||
include proxy_params;
|
include proxy_params;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user