mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-22 06:22:16 +00:00
nginx, curl text
This commit is contained in:
@@ -28,8 +28,7 @@ server {
|
||||
|
||||
error_log /data/ofm/http_host/logs_nginx/le-error.log;
|
||||
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
# trailing slash
|
||||
location ^~ /.well-known/acme-challenge/ { # trailing slash
|
||||
root /data/nginx/acme-challenges;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
@@ -57,6 +57,8 @@ location @empty_tile {
|
||||
|
||||
add_header 'Access-Control-Allow-Origin' '*' always;
|
||||
add_header Cache-Control public;
|
||||
|
||||
add_header x-ofm-debug 'empty tile';
|
||||
}
|
||||
|
||||
location = / {
|
||||
|
||||
Reference in New Issue
Block a user