Also die Gesamtkarte geht jetzt schon mal:
https://karte.freifunk-emscherland.de/map/
Die Einzelkarten immer noch nicht.
Okay, ich hab mal ein wenig experimentiert:
https://karte.freifunk-emscherland.de/map_test/
Geht auch. Das ist die Karte der Domäne 01, allerdings ohne Symlinks. Die mapXX-Ordner haben nur Symlinks auf die Hauptkarte, damit das eigentliche Programm nicht mehrfach vorgehalten werden muss. Scheinbar kommt nginx in dieser Konfiguration damit nicht klar. Auf unserem Server ist das kein Problem gewesen.
Weiß jemand, wie ich nginx beibringe, dass es auch Symlinks folgen darf?
root@services /var/www/html/maps # ls -al map
insgesamt 4,5M
drwxr-xr-x 6 root root 4,0K Sep 7 15:03 .
drwxr-xr-x 24 root root 4,0K Sep 7 15:34 ..
-rw-r--r-- 1 root root 599K Sep 7 11:59 app.js
-rw-r--r-- 1 root root 5,0K Sep 7 15:03 config.json
drwxr-xr-x 2 root root 4,0K Sep 7 11:41 css
drwxr-xr-x 2 root root 4,0K Sep 7 11:41 fonts
drwxr-xr-x 2 root root 4,0K Sep 7 11:41 images
-rw-r--r-- 1 root root 553 Sep 7 11:59 index.html
-rw-r--r-- 1 root root 3,8M Sep 7 11:59 nodes.json
-rw-r--r-- 1 root root 11K Sep 7 11:59 roboto-fontface.css
-rw-r--r-- 1 root root 2,1K Sep 7 11:59 roboto-slab-fontface.css
-rw-r--r-- 1 root root 16K Sep 7 11:59 style.css
-rw-r--r-- 1 root root 14K Sep 7 11:59 style.css.map
drwxr-xr-x 3 root root 4,0K Sep 7 11:41 vendor
root@services /var/www/html/maps # ls -al map_test/
insgesamt 4,5M
drwxr-xr-x 6 root root 4,0K Sep 7 15:35 .
drwxr-xr-x 24 root root 4,0K Sep 7 15:34 ..
-rw-r--r-- 1 root root 599K Sep 7 15:34 app.js
-rw-r--r-- 1 root root 5,0K Sep 7 15:34 config.json
drwxr-xr-x 2 root root 4,0K Sep 7 15:34 css
drwxr-xr-x 2 root root 4,0K Sep 7 15:34 fonts
drwxr-xr-x 2 root root 4,0K Sep 7 15:34 images
-rw-r--r-- 1 root root 553 Sep 7 15:34 index.html
-rw-r--r-- 1 root root 3,8M Sep 7 15:34 nodes.json
-rw-r--r-- 1 root root 11K Sep 7 15:34 roboto-fontface.css
-rw-r--r-- 1 root root 2,1K Sep 7 15:34 roboto-slab-fontface.css
-rw-r--r-- 1 root root 16K Sep 7 15:34 style.css
-rw-r--r-- 1 root root 14K Sep 7 15:34 style.css.map
drwxr-xr-x 3 root root 4,0K Sep 7 15:34 vendor
root@services /var/www/html/maps # ls -al map01
insgesamt 12K
drwxr-xr-x 2 root root 4,0K Sep 7 15:32 .
drwxr-xr-x 24 root root 4,0K Sep 7 15:34 ..
lrwxrwxrwx 1 root root 13 Sep 7 11:42 app.js -> ../map/app.js
-rw-r--r-- 1 root root 1,8K Sep 7 15:32 config.json
lrwxrwxrwx 1 root root 10 Sep 7 11:42 css -> ../map/css
lrwxrwxrwx 1 root root 12 Sep 7 11:42 fonts -> ../map/fonts
lrwxrwxrwx 1 root root 13 Sep 7 11:42 images -> ../map/images
lrwxrwxrwx 1 root root 17 Sep 7 11:42 index.html -> ../map/index.html
lrwxrwxrwx 1 root root 26 Sep 7 11:42 roboto-fontface.css -> ../map/roboto-fontface.css
lrwxrwxrwx 1 root root 31 Sep 7 11:42 roboto-slab-fontface.css -> ../map/roboto-slab-fontface.css
lrwxrwxrwx 1 root root 16 Sep 7 11:42 style.css -> ../map/style.css
lrwxrwxrwx 1 root root 20 Sep 7 11:42 style.css.map -> ../map/style.css.map
lrwxrwxrwx 1 root root 13 Sep 7 11:42 vendor -> ../map/vendor
(Die ersten beiden gehen, die letzte nicht.)