1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

CUPS: Fix box/print URLs, Secure box/print/admin URLs, Lint NGINX .conf's

This commit is contained in:
root 2021-07-12 15:52:15 -04:00
parent bb116d48cc
commit 0cd7ccc816
14 changed files with 179 additions and 157 deletions

View file

@ -1,7 +1,8 @@
# For downloadable regional vector tilesets
location ~ ^/maps {
rewrite ^/maps(.*)$ /osm-vector-maps/viewer$1;
rewrite ^/maps(.*)$ /osm-vector-maps/viewer$1;
}
location ~ ^/osm-vector-maps(.*)\.php(.*)$ {
alias /library/www/osm-vector-maps$1.php$2; # /library/www/osm-vector-maps
proxy_set_header X-Real-IP $remote_addr;
@ -11,10 +12,11 @@ location ~ ^/osm-vector-maps(.*)\.php(.*)$ {
fastcgi_index index.html;
include fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param PATH_INFO $2;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param PATH_INFO $2;
}
location ~ ^/osm-vector-maps/ {
root /library/www;
root /library/www;
}