Skip to content

Commit

Permalink
apache and nginx tuning to allow large uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronwmorris committed Aug 22, 2023
1 parent f9f6aa6 commit e1174fa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/nginx.local.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ server {

rewrite ^/$ /indi-allsky;

client_max_body_size 1024M;


location /indi-allsky/images {
alias %INDIALLSKY_IMAGE_FOLDER%;
Expand Down Expand Up @@ -72,6 +74,8 @@ server {

rewrite ^/$ https://$host/indi-allsky;

client_max_body_size 1024M;


location /indi-allsky/images {
alias %INDIALLSKY_IMAGE_FOLDER%;
Expand Down
4 changes: 4 additions & 0 deletions service/apache_indi-allsky.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Listen *:%HTTPS_PORT%

RewriteRule "^/$" "/indi-allsky/" [R]

TimeOut 180
LimitRequestBody 1073741824

ProxyPreserveHost On
ProxyPass /indi-allsky/static !
Expand Down Expand Up @@ -54,6 +56,8 @@ Listen *:%HTTPS_PORT%
RewriteEngine On
RewriteRule "^/$" "/indi-allsky/" [R]

TimeOut 180
LimitRequestBody 1073741824

ProxyPreserveHost On
ProxyPass /indi-allsky/static !
Expand Down
3 changes: 3 additions & 0 deletions service/nginx_astroberry_ssl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ server {

rewrite ^/$ /indi-allsky;

client_max_body_size 1024M;

location /indi-allsky/images {
alias %IMAGE_FOLDER%;
Expand Down Expand Up @@ -73,6 +74,8 @@ server {

rewrite ^/$ https://$host/indi-allsky;

client_max_body_size 1024M;


location /indi-allsky/images {
alias %IMAGE_FOLDER%;
Expand Down

0 comments on commit e1174fa

Please sign in to comment.