Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d91828da9 |
@@ -5,6 +5,12 @@ server {
|
|||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
|
# Le worker de MapLibre est un module .mjs : le navigateur refuse tout autre type MIME.
|
||||||
|
include /etc/nginx/mime.types;
|
||||||
|
types {
|
||||||
|
text/javascript mjs;
|
||||||
|
}
|
||||||
|
|
||||||
# Le back-end tourne dans le même pod que ce conteneur.
|
# Le back-end tourne dans le même pod que ce conteneur.
|
||||||
location ~ ^/(api|admin|static)/ {
|
location ~ ^/(api|admin|static)/ {
|
||||||
proxy_pass http://127.0.0.1:8000;
|
proxy_pass http://127.0.0.1:8000;
|
||||||
|
|||||||
Reference in new issue
Block a user