# Auto generated nginx config file by DirectAdmin version 1.51.1
# Modifying this file is not recommended as any changes you make will be
# overwritten when the user makes any changes to their website
# For global config changes that affect all Users, see this guide:
# http://help.directadmin.com/item.php?id=558
# For local config changes that only affect one User, see this guide:
# http://help.directadmin.com/item.php?id=3
server
{
listen 185.41.186.152:80;
server_name softepil.com www.softepil.com ;
access_log /var/log/nginx/domains/softepil.com.log;
access_log /var/log/nginx/domains/softepil.com.bytes bytes;
error_log /var/log/nginx/domains/softepil.com.error.log;
root /home/softe933/domains/softepil.com/public_html;
index index.php index.html index.htm;
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://185.41.186.152:8080;
proxy_set_header X-Client-IP $remote_addr;
proxy_set_header X-Accel-Internal /nginx_static_files;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/softe933/domains/softepil.com/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}
server
{
listen 185.41.186.152:443 ssl;
server_name softepil.com www.softepil.com ;
access_log /var/log/nginx/domains/softepil.com.log;
access_log /var/log/nginx/domains/softepil.com.bytes bytes;
error_log /var/log/nginx/domains/softepil.com.error.log;
root /home/softe933/domains/softepil.com/private_html;
index index.php index.html index.htm;
ssl on;
ssl_certificate /etc/httpd/conf/ssl.crt/server.crt.combined;
ssl_certificate_key /etc/httpd/conf/ssl.key/server.key;
location /
{
# access_log off;
proxy_buffering off;
proxy_pass https://185.41.186.152:8081;
proxy_set_header X-Client-IP $remote_addr;
proxy_set_header X-Accel-Internal /nginx_static_files;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/softe933/domains/softepil.com/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}
server
{
listen 185.41.186.152:80;
server_name moguta.softepil.com www.moguta.softepil.com ;
access_log /var/log/nginx/domains/softepil.com.moguta.log;
access_log /var/log/nginx/domains/softepil.com.moguta.bytes bytes;
error_log /var/log/nginx/domains/softepil.com.moguta.error.log;
root /home/softe933/domains/softepil.com/public_html/moguta;
index index.php index.html index.htm;
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://185.41.186.152:8080;
proxy_set_header X-Client-IP $remote_addr;
proxy_set_header X-Accel-Internal /nginx_static_files;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/softe933/domains/softepil.com/public_html/moguta/;
internal;
}
include /etc/nginx/webapps.conf;
}
server
{
listen 185.41.186.152:443 ssl;
server_name moguta.softepil.com www.moguta.softepil.com ;
access_log /var/log/nginx/domains/softepil.com.moguta.log;
access_log /var/log/nginx/domains/softepil.com.moguta.bytes bytes;
error_log /var/log/nginx/domains/softepil.com.moguta.error.log;
root /home/softe933/domains/softepil.com/private_html/moguta;
index index.php index.html index.htm;
ssl on;
ssl_certificate /etc/httpd/conf/ssl.crt/server.crt.combined;
ssl_certificate_key /etc/httpd/conf/ssl.key/server.key;
location /
{
# access_log off;
proxy_buffering off;
proxy_pass https://185.41.186.152:8081;
proxy_set_header X-Client-IP $remote_addr;
proxy_set_header X-Accel-Internal /nginx_static_files;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/softe933/domains/softepil.com/private_html/moguta/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}