! Published.
All checks were successful
Build docker image / build_docker_image (push) Successful in 3m50s
All checks were successful
Build docker image / build_docker_image (push) Successful in 3m50s
This commit is contained in:
34
build/nginx/config/default.conf
Normal file
34
build/nginx/config/default.conf
Normal file
@@ -0,0 +1,34 @@
|
||||
# This is a default site configuration which will simply return 404, preventing
|
||||
# chance access to any other virtualhost.
|
||||
|
||||
server {
|
||||
listen 9000 default_server;
|
||||
listen [::]:9000 default_server;
|
||||
|
||||
# server_name proxima.goliath.hu;
|
||||
|
||||
access_log /app/log/nginx-access.log;
|
||||
error_log /app/log/nginx-error.log error;
|
||||
|
||||
|
||||
location ~ \.php$ {
|
||||
root /app/Backend/public/;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass unix:/app/run/php-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
|
||||
include fastcgi.conf;
|
||||
}
|
||||
|
||||
location / {
|
||||
root /app/Backend/public/;
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
index index.php index.html index.htm;
|
||||
}
|
||||
|
||||
# You may need this to prevent return 404 recursion.
|
||||
location = /404.html {
|
||||
internal;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user