Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
ADD: custom directive in nginx default virtualhost file in order to a…
Browse files Browse the repository at this point in the history
…llow greater payloads when making POST/PUT/PATCH requests
  • Loading branch information
marcoguido committed Apr 21, 2020
1 parent 8855d92 commit e25dc04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/http/nginx/virtualhosts/default.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ server {
listen 80;
server_name PROJECT.test;
root /var/www/html/PROJECT;
client_max_body_size 30M;

index index.php index.html;
access_log /var/www/logs/nginx/PROJECT_access.log;
Expand Down Expand Up @@ -61,6 +62,7 @@ server {
# listen 443 ssl;
# server_name PROJECT.test;
# root /var/www/html/PATH/TO/PROJECT;
# client_max_body_size 30M;
#
# index index.php index.html;
# access_log /var/www/logs/nginx/ssl_PROJECT_access.log;
Expand Down

0 comments on commit e25dc04

Please sign in to comment.