Skip to content

Commit

Permalink
Remove new download rule for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpirix committed May 15, 2024
1 parent f41ce2e commit d4102d4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 114 deletions.
96 changes: 0 additions & 96 deletions dockerize/nginx.conf

This file was deleted.

12 changes: 0 additions & 12 deletions dockerize/sites-enabled/prod-ssl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,6 @@ server {
return 403;
}
}
# New rule to drop non-QGIS user agent .zip downloads
location ~* \.zip$ {
if ($http_user_agent !~* "Mozilla/5.0 QGIS") {
return 403 "Forbidden: Please use QGIS to download .zip files.";
}
}

location /metabase/ {
# set to webroot path
Expand Down Expand Up @@ -215,12 +209,6 @@ server {

}

# New rule to drop non-QGIS user agent .zip downloads
location ~* \.zip$ {
if ($http_user_agent !~* "Mozilla/5.0 QGIS") {
return 403 "Forbidden: Please use QGIS to download .zip files.";
}
}

location /metabase/ {
# set to webroot path
Expand Down
6 changes: 0 additions & 6 deletions dockerize/sites-enabled/prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ server {

}

# New rule to drop non-QGIS user agent .zip downloads
location ~* \.zip$ {
if ($http_user_agent !~* "Mozilla/5.0 QGIS") {
return 403 "Forbidden: Please use QGIS to download .zip files.";
}
}

location /metabase/ {
# set to webroot path
Expand Down

0 comments on commit d4102d4

Please sign in to comment.