feat: establish reservation portal foundation
This commit is contained in:
26
docker/nginx.conf
Normal file
26
docker/nginx.conf
Normal file
@@ -0,0 +1,26 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
root /var/www/html/public;
|
||||
index index.php;
|
||||
|
||||
add_header X-Content-Type-Options nosniff always;
|
||||
add_header X-Frame-Options SAMEORIGIN always;
|
||||
add_header Referrer-Policy strict-origin-when-cross-origin always;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
include fastcgi_params;
|
||||
fastcgi_pass app:9000;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param HTTP_PROXY "";
|
||||
fastcgi_read_timeout 90;
|
||||
}
|
||||
|
||||
location ~ /\. {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
7
docker/php.ini
Normal file
7
docker/php.ini
Normal file
@@ -0,0 +1,7 @@
|
||||
memory_limit=256M
|
||||
upload_max_filesize=16M
|
||||
post_max_size=20M
|
||||
max_execution_time=90
|
||||
date.timezone=Europe/Lisbon
|
||||
opcache.enable=1
|
||||
opcache.validate_timestamps=1
|
||||
Reference in New Issue
Block a user