forked from halo-battle/game
Corrections suite aux retours de Nemu
This commit is contained in:
parent
729fdae92c
commit
38851de02b
@ -7,7 +7,7 @@ networks:
|
|||||||
services:
|
services:
|
||||||
mariadb:
|
mariadb:
|
||||||
restart: always
|
restart: always
|
||||||
image: mariadb:10.5.8-focal
|
image: mariadb:10-focal
|
||||||
networks:
|
networks:
|
||||||
- halonet
|
- halonet
|
||||||
volumes:
|
volumes:
|
||||||
@ -41,7 +41,7 @@ services:
|
|||||||
- DEV=true
|
- DEV=true
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:1.19.4-alpine
|
image: nginx:1-alpine
|
||||||
depends_on:
|
depends_on:
|
||||||
- hb
|
- hb
|
||||||
networks:
|
networks:
|
||||||
|
@ -4,13 +4,16 @@ server {
|
|||||||
root /usr/src/hb-main/htdocs;
|
root /usr/src/hb-main/htdocs;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri?$query_string /index.php?$query_string;
|
index index.php;
|
||||||
|
try_files $uri $uri/ /index.php;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~* \.php$ {
|
location ~* \.php$ {
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
|
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
|
||||||
|
fastcgi_param HTTP_HOST $server_name;
|
||||||
|
fastcgi_param REMOTE_ADDR $remote_addr;
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_pass hb:9000;
|
fastcgi_pass hb:9000;
|
||||||
|
Loading…
Reference in New Issue
Block a user