This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[PHP] | |
date.timezone = Europe/Amsterdam | |
short_open_tag = off | |
max_execution_time = 300 | |
max_input_time = 60 | |
memory_limit = 256M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[www] | |
user = www-data | |
group = www-data | |
listen = 0.0.0.0:9000 | |
pm = dynamic | |
pm.max_children = 10 | |
pm.start_servers = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
server_name *.amazonaws.com; | |
root /var/www/symfony/web; | |
location / { | |
# try to serve file directly, fallback to app.php | |
try_files $uri /app.php$is_args$args; | |
} | |
# PROD | |
location ~ ^/app\.php(/|$) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user www-data; | |
worker_processes 4; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 2048; | |
multi_accept on; | |
use epoll; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const someQuestion: CollectionConfig = { | |
slug: 'some-collection', | |
custom: { | |
cacheControl: 'public, max-age=300, stale-while-revalidate=300, stale-if-error=86400', | |
}, | |
} |