diff --git a/resources/nginx/api.tempfiles.conf b/resources/nginx/api.tempfiles.conf index 514e680..a507496 100644 --- a/resources/nginx/api.tempfiles.conf +++ b/resources/nginx/api.tempfiles.conf @@ -7,14 +7,14 @@ server { ssl_certificate_key {path_to_key}/privkey.pem; #Change path ssl_ciphers 'CDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384'; - error_log /var/log/nginx/api.tempfiles.carlgo11.com/error.log warn; + error_log /var/log/nginx/tempfiles/error.log warn; client_body_buffer_size 22M; # Max allowable upload size client_max_body_size 22M; # Max allowable upload size include /etc/nginx/conf.d/headers.conf; - root /var/www/tempfiles.carlgo11.com/backend; + root /var/www/tempfiles/backend; add_header Access-Control-Allow-Origin "tempfiles.carlgo11.com"; # Change to "*" if the url doesn't work.