Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix default conf nginx for mobile #3414

Merged
merged 1 commit into from
Jan 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion conf/nginx.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,15 @@ server {
add_header Access-Control-Allow-Origin "*";
add_header Access-Control-Allow-Methods "GET, OPTIONS";
root /opt/geotrek-admin/var/mobile/;
try_files /$http_accept_language/$1 /nolang/$1 =404;
try_files /${DOLLAR}http_accept_language/$1 /nolang/$1 =404;
gzip on;
gzip_types text/text text/plain text/xml text/css application/x-javascript application/javascript application/json;
include mime.types;
types {
application/json geojson;
application/gpx+xml gpx;
application/x-font-ttf ttf;
}
}

location /media {
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ In preparation for HD Views developments (PR #3298)
- Check pictogram exist on categories during generation of pdfs
- Fix ApidaeParsers does not update every time
- Add fixtures licenses initial install
- Fix default conf nginx for mobile


2.94.0 (2022-12-12)
Expand Down