merge-requests/2/head
Matthew 2022-08-30 21:04:24 -04:00
parent 679fdf6e35
commit 9dbcc2c5c9
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 15 deletions

View File

@ -6,21 +6,7 @@ server {
ssl_certificate /etc/nginx/ssl/org.chain.crt; ssl_certificate /etc/nginx/ssl/org.chain.crt;
ssl_certificate_key /etc/nginx/ssl/org.key.pem; 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 / { location / {
try_files $uri $uri/ /index.php?$uri&$args; proxy_pass http://localhost:5487;
}
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;
} }
} }