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:
|
||||
mariadb:
|
||||
restart: always
|
||||
image: mariadb:10.5.8-focal
|
||||
image: mariadb:10-focal
|
||||
networks:
|
||||
- halonet
|
||||
volumes:
|
||||
@ -41,7 +41,7 @@ services:
|
||||
- DEV=true
|
||||
|
||||
nginx:
|
||||
image: nginx:1.19.4-alpine
|
||||
image: nginx:1-alpine
|
||||
depends_on:
|
||||
- hb
|
||||
networks:
|
||||
|
@ -4,13 +4,16 @@ server {
|
||||
root /usr/src/hb-main/htdocs;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri?$query_string /index.php?$query_string;
|
||||
index index.php;
|
||||
try_files $uri $uri/ /index.php;
|
||||
}
|
||||
|
||||
location ~* \.php$ {
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$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_index index.php;
|
||||
fastcgi_pass hb:9000;
|
||||
|
Loading…
Reference in New Issue
Block a user