From 9dbcc2c5c9074899b4ef2b0b84414059f4057aac Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 30 Aug 2022 21:04:24 -0400 Subject: [PATCH] a. --- Nginx/Server Blocks/hr.libraryofcode.org.conf | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Nginx/Server Blocks/hr.libraryofcode.org.conf b/Nginx/Server Blocks/hr.libraryofcode.org.conf index 331f1ea..568b631 100644 --- a/Nginx/Server Blocks/hr.libraryofcode.org.conf +++ b/Nginx/Server Blocks/hr.libraryofcode.org.conf @@ -6,21 +6,7 @@ server { ssl_certificate /etc/nginx/ssl/org.chain.crt; ssl_certificate_key /etc/nginx/ssl/org.key.pem; - root /var/www/orangehrm/symfony/web; - index index.php index.html index.htm; - client_max_body_size 100M; - - access_log /var/log/nginx/hr_access.log; - error_log /var/log/nginx/hr_error.log; - location / { - try_files $uri $uri/ /index.php?$uri&$args; - } - - location ~ \.php$ { - include snippets/fastcgi-php.conf; - fastcgi_pass unix:/var/run/php/php7.1-fpm.sock; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - include fastcgi_params; + proxy_pass http://localhost:5487; } }