forked from halo-battle/game
Ajout d'un readme et d'un docker-compose
This commit is contained in:
parent
dd61d3b66b
commit
729fdae92c
4 changed files with 86 additions and 0 deletions
18
nginx.conf
Normal file
18
nginx.conf
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
root /usr/src/hb-main/htdocs;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri?$query_string /index.php?$query_string;
|
||||
}
|
||||
|
||||
location ~* \.php$ {
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_pass hb:9000;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue