nginx Odoo

here's the complete config file. I've replaced IPs & domain names with XXX.

# Auto generated nginx config file by DirectAdmin version 1.651
# 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 1XXX.5:80;
server_name rXXX.l.pl www.rXXX.l.pl ;
access_log /var/log/nginx/domains/rXXX.l.pl.log;
access_log /var/log/nginx/domains/rXXX.l.pl.bytes bytes;
error_log /var/log/nginx/domains/rXXX.l.pl.error.log;
root /home/rXXX.l/domains/rXXX.l.pl/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/rXXX.l.pl/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name rXXX.l.pl www.rXXX.l.pl ;
access_log /var/log/nginx/domains/rXXX.l.pl.log;
access_log /var/log/nginx/domains/rXXX.l.pl.bytes bytes;
error_log /var/log/nginx/domains/rXXX.l.pl.error.log;
root /home/rXXX.l/domains/rXXX.l.pl/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/rXXX.l.pl.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/rXXX.l.pl.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/rXXX.l.pl/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name aXXX.s.ovh www.aXXX.s.ovh ;
access_log /var/log/nginx/domains/aXXX.s.ovh.log;
access_log /var/log/nginx/domains/aXXX.s.ovh.bytes bytes;
error_log /var/log/nginx/domains/aXXX.s.ovh.error.log;
root /home/rXXX.l/domains/aXXX.s.ovh/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/aXXX.s.ovh/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name aXXX.s.ovh www.aXXX.s.ovh ;
access_log /var/log/nginx/domains/aXXX.s.ovh.log;
access_log /var/log/nginx/domains/aXXX.s.ovh.bytes bytes;
error_log /var/log/nginx/domains/aXXX.s.ovh.error.log;
root /home/rXXX.l/domains/aXXX.s.ovh/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/aXXX.s.ovh.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/aXXX.s.ovh.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/aXXX.s.ovh/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name aXXX.s.pl www.aXXX.s.pl ;
access_log /var/log/nginx/domains/aXXX.s.pl.log;
access_log /var/log/nginx/domains/aXXX.s.pl.bytes bytes;
error_log /var/log/nginx/domains/aXXX.s.pl.error.log;
root /home/rXXX.l/domains/aXXX.s.pl/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/aXXX.s.pl/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name aXXX.s.pl www.aXXX.s.pl ;
access_log /var/log/nginx/domains/aXXX.s.pl.log;
access_log /var/log/nginx/domains/aXXX.s.pl.bytes bytes;
error_log /var/log/nginx/domains/aXXX.s.pl.error.log;
root /home/rXXX.l/domains/aXXX.s.pl/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/aXXX.s.pl.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/aXXX.s.pl.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/aXXX.s.pl/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name cXXX.t.eu www.cXXX.t.eu ;
access_log /var/log/nginx/domains/cXXX.t.eu.log;
access_log /var/log/nginx/domains/cXXX.t.eu.bytes bytes;
error_log /var/log/nginx/domains/cXXX.t.eu.error.log;
root /home/rXXX.l/domains/cXXX.t.eu/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/cXXX.t.eu/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name cXXX.t.eu www.cXXX.t.eu ;
access_log /var/log/nginx/domains/cXXX.t.eu.log;
access_log /var/log/nginx/domains/cXXX.t.eu.bytes bytes;
error_log /var/log/nginx/domains/cXXX.t.eu.error.log;
root /home/rXXX.l/domains/cXXX.t.eu/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/cXXX.t.eu.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/cXXX.t.eu.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/cXXX.t.eu/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name cXXX.t.pl www.cXXX.t.pl ;
access_log /var/log/nginx/domains/cXXX.t.pl.log;
access_log /var/log/nginx/domains/cXXX.t.pl.bytes bytes;
error_log /var/log/nginx/domains/cXXX.t.pl.error.log;
root /home/rXXX.l/domains/cXXX.t.pl/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/cXXX.t.pl/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name cXXX.t.pl www.cXXX.t.pl ;
access_log /var/log/nginx/domains/cXXX.t.pl.log;
access_log /var/log/nginx/domains/cXXX.t.pl.bytes bytes;
error_log /var/log/nginx/domains/cXXX.t.pl.error.log;
root /home/rXXX.l/domains/cXXX.t.pl/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/cXXX.t.pl.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/cXXX.t.pl.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/cXXX.t.pl/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name dXXX..pl www.dXXX..pl ;
access_log /var/log/nginx/domains/dXXX..pl.log;
access_log /var/log/nginx/domains/dXXX..pl.bytes bytes;
error_log /var/log/nginx/domains/dXXX..pl.error.log;
root /home/rXXX.l/domains/dXXX..pl/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/dXXX..pl/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name dXXX..pl www.dXXX..pl ;
access_log /var/log/nginx/domains/dXXX..pl.log;
access_log /var/log/nginx/domains/dXXX..pl.bytes bytes;
error_log /var/log/nginx/domains/dXXX..pl.error.log;
root /home/rXXX.l/domains/dXXX..pl/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/dXXX..pl.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/dXXX..pl.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/dXXX..pl/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name dXXX.r.pl www.dXXX.r.pl ;
access_log /var/log/nginx/domains/dXXX.r.pl.log;
access_log /var/log/nginx/domains/dXXX.r.pl.bytes bytes;
error_log /var/log/nginx/domains/dXXX.r.pl.error.log;
root /home/rXXX.l/domains/dXXX.r.pl/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/dXXX.r.pl/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name dXXX.r.pl www.dXXX.r.pl ;
access_log /var/log/nginx/domains/dXXX.r.pl.log;
access_log /var/log/nginx/domains/dXXX.r.pl.bytes bytes;
error_log /var/log/nginx/domains/dXXX.r.pl.error.log;
root /home/rXXX.l/domains/dXXX.r.pl/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/dXXX.r.pl.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/dXXX.r.pl.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/dXXX.r.pl/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name glXXX.t.pl www.glXXX.t.pl ;
access_log /var/log/nginx/domains/glXXX.t.pl.log;
access_log /var/log/nginx/domains/glXXX.t.pl.bytes bytes;
error_log /var/log/nginx/domains/glXXX.t.pl.error.log;
root /home/rXXX.l/domains/glXXX.t.pl/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/glXXX.t.pl/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name glXXX.t.pl www.glXXX.t.pl ;
access_log /var/log/nginx/domains/glXXX.t.pl.log;
access_log /var/log/nginx/domains/glXXX.t.pl.bytes bytes;
error_log /var/log/nginx/domains/glXXX.t.pl.error.log;
root /home/rXXX.l/domains/glXXX.t.pl/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/glXXX.t.pl.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/glXXX.t.pl.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/glXXX.t.pl/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name paXXX.wy.glXXX.t.pl www.paXXX.wy.glXXX.t.pl ;
access_log /var/log/nginx/domains/glXXX.t.pl.paXXX.wy.log;
access_log /var/log/nginx/domains/glXXX.t.pl.paXXX.wy.bytes bytes;
error_log /var/log/nginx/domains/glXXX.t.pl.paXXX.wy.error.log;
root /home/rXXX.l/domains/glXXX.t.pl/public_html/admin25433fuvm;
index index.php index.html index.htm;
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/glXXX.t.pl/public_html/admin25433fuvm/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name paXXX.wy.glXXX.t.pl www.paXXX.wy.glXXX.t.pl ;
access_log /var/log/nginx/domains/glXXX.t.pl.paXXX.wy.log;
access_log /var/log/nginx/domains/glXXX.t.pl.paXXX.wy.bytes bytes;
error_log /var/log/nginx/domains/glXXX.t.pl.paXXX.wy.error.log;
root /home/rXXX.l/domains/glXXX.t.pl/public_html/admin25433fuvm;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/glXXX.t.pl.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/glXXX.t.pl.key;
location /
{
# access_log off;
proxy_buffering off;
proxy_pass https://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/glXXX.t.pl/public_html/admin25433fuvm/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name koXXX.yn.pl www.koXXX.yn.pl ;
access_log /var/log/nginx/domains/koXXX.yn.pl.log;
access_log /var/log/nginx/domains/koXXX.yn.pl.bytes bytes;
error_log /var/log/nginx/domains/koXXX.yn.pl.error.log;
root /home/rXXX.l/domains/koXXX.yn.pl/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/koXXX.yn.pl/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name koXXX.yn.pl www.koXXX.yn.pl ;
access_log /var/log/nginx/domains/koXXX.yn.pl.log;
access_log /var/log/nginx/domains/koXXX.yn.pl.bytes bytes;
error_log /var/log/nginx/domains/koXXX.yn.pl.error.log;
root /home/rXXX.l/domains/koXXX.yn.pl/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/koXXX.yn.pl.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/koXXX.yn.pl.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/koXXX.yn.pl/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name krXXX.ka.pl www.krXXX.ka.pl ;
access_log /var/log/nginx/domains/krXXX.ka.pl.log;
access_log /var/log/nginx/domains/krXXX.ka.pl.bytes bytes;
error_log /var/log/nginx/domains/krXXX.ka.pl.error.log;
root /home/rXXX.l/domains/krXXX.ka.pl/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/krXXX.ka.pl/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name krXXX.ka.pl www.krXXX.ka.pl ;
access_log /var/log/nginx/domains/krXXX.ka.pl.log;
access_log /var/log/nginx/domains/krXXX.ka.pl.bytes bytes;
error_log /var/log/nginx/domains/krXXX.ka.pl.error.log;
root /home/rXXX.l/domains/krXXX.ka.pl/private_html;
index index.php index.html index.htm;
ssl_certificate /etc/httpd/conf/ssl.crt/server.crt.combined;
ssl_certificate_key /etc/httpd/conf/ssl.key/server.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/krXXX.ka.pl/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name maXXX.ski.art www.maXXX.ski.art ;
access_log /var/log/nginx/domains/maXXX.ski.art.log;
access_log /var/log/nginx/domains/maXXX.ski.art.bytes bytes;
error_log /var/log/nginx/domains/maXXX.ski.art.error.log;
root /home/rXXX.l/domains/maXXX.ski.art/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/maXXX.ski.art/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name maXXX.ski.art www.maXXX.ski.art ;
access_log /var/log/nginx/domains/maXXX.ski.art.log;
access_log /var/log/nginx/domains/maXXX.ski.art.bytes bytes;
error_log /var/log/nginx/domains/maXXX.ski.art.error.log;
root /home/rXXX.l/domains/maXXX.ski.art/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/maXXX.ski.art.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/maXXX.ski.art.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/maXXX.ski.art/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name maXXX.yn.pl www.maXXX.yn.pl ;
access_log /var/log/nginx/domains/maXXX.yn.pl.log;
access_log /var/log/nginx/domains/maXXX.yn.pl.bytes bytes;
error_log /var/log/nginx/domains/maXXX.yn.pl.error.log;
root /home/rXXX.l/domains/maXXX.yn.pl/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/maXXX.yn.pl/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name maXXX.yn.pl www.maXXX.yn.pl ;
access_log /var/log/nginx/domains/maXXX.yn.pl.log;
access_log /var/log/nginx/domains/maXXX.yn.pl.bytes bytes;
error_log /var/log/nginx/domains/maXXX.yn.pl.error.log;
root /home/rXXX.l/domains/maXXX.yn.pl/private_html;
index index.php index.html index.htm;
ssl_certificate /etc/httpd/conf/ssl.crt/server.crt.combined;
ssl_certificate_key /etc/httpd/conf/ssl.key/server.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/maXXX.yn.pl/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name prXXX.u.com www.prXXX.u.com ;
access_log /var/log/nginx/domains/prXXX.u.com.log;
access_log /var/log/nginx/domains/prXXX.u.com.bytes bytes;
error_log /var/log/nginx/domains/prXXX.u.com.error.log;
root /home/rXXX.l/domains/prXXX.u.com/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/prXXX.u.com/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name prXXX.u.com www.prXXX.u.com ;
access_log /var/log/nginx/domains/prXXX.u.com.log;
access_log /var/log/nginx/domains/prXXX.u.com.bytes bytes;
error_log /var/log/nginx/domains/prXXX.u.com.error.log;
root /home/rXXX.l/domains/prXXX.u.com/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/prXXX.u.com.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/prXXX.u.com.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/prXXX.u.com/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name rXXX.l.eu www.rXXX.l.eu ;
access_log /var/log/nginx/domains/rXXX.l.eu.log;
access_log /var/log/nginx/domains/rXXX.l.eu.bytes bytes;
error_log /var/log/nginx/domains/rXXX.l.eu.error.log;
root /home/rXXX.l/domains/rXXX.l.eu/public_html;
index index.php index.html index.htm;
if ($http_x_forwarded_proto != 'https') {
return 301 https://$host$request_uri;
}
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/rXXX.l.eu/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name rXXX.l.eu www.rXXX.l.eu ;
access_log /var/log/nginx/domains/rXXX.l.eu.log;
access_log /var/log/nginx/domains/rXXX.l.eu.bytes bytes;
error_log /var/log/nginx/domains/rXXX.l.eu.error.log;
root /home/rXXX.l/domains/rXXX.l.eu/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/rXXX.l.eu.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/rXXX.l.eu.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/rXXX.l.eu/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name whXXX.ng.rXXX.l.eu www.whXXX.ng.rXXX.l.eu ;
access_log /var/log/nginx/domains/rXXX.l.eu.whXXX.ng.log;
access_log /var/log/nginx/domains/rXXX.l.eu.whXXX.ng.bytes bytes;
error_log /var/log/nginx/domains/rXXX.l.eu.whXXX.ng.error.log;
root /home/rXXX.l/domains/rXXX.l.eu/public_html/whXXX.ng;
index index.php index.html index.htm;
if ($http_x_forwarded_proto != 'https') {
return 301 https://$host$request_uri;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/rXXX.l.eu/public_html/whXXX.ng/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name whXXX.ng.rXXX.l.eu www.whXXX.ng.rXXX.l.eu ;
access_log /var/log/nginx/domains/rXXX.l.eu.whXXX.ng.log;
access_log /var/log/nginx/domains/rXXX.l.eu.whXXX.ng.bytes bytes;
error_log /var/log/nginx/domains/rXXX.l.eu.whXXX.ng.error.log;
root /home/rXXX.l/domains/rXXX.l.eu/private_html/whXXX.ng;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/rXXX.l.eu.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/rXXX.l.eu.key;
location /
{
# access_log off;
proxy_buffering off;
proxy_pass https://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/rXXX.l.eu/private_html/whXXX.ng/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name vmXXX.r.net www.vmXXX.r.net ;
access_log /var/log/nginx/domains/vmXXX.r.net.log;
access_log /var/log/nginx/domains/vmXXX.r.net.bytes bytes;
error_log /var/log/nginx/domains/vmXXX.r.net.error.log;
root /home/rXXX.l/domains/vmXXX.r.net/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/vmXXX.r.net/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name vmXXX.r.net www.vmXXX.r.net ;
access_log /var/log/nginx/domains/vmXXX.r.net.log;
access_log /var/log/nginx/domains/vmXXX.r.net.bytes bytes;
error_log /var/log/nginx/domains/vmXXX.r.net.error.log;
root /home/rXXX.l/domains/vmXXX.r.net/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/vmXXX.r.net.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/vmXXX.r.net.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/vmXXX.r.net/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}

server
{
listen 1XXX.5:80;
server_name wXXX.er.pl www.wXXX.er.pl ;
access_log /var/log/nginx/domains/wXXX.er.pl.log;
access_log /var/log/nginx/domains/wXXX.er.pl.bytes bytes;
error_log /var/log/nginx/domains/wXXX.er.pl.error.log;
root /home/rXXX.l/domains/wXXX.er.pl/public_html;
index index.php index.html index.htm;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass |PROXY_PASS|;
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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/wXXX.er.pl/public_html/;
internal;
}
include /etc/nginx/webapps.conf;
}

server
{
listen 1XXX.5:443 ssl http2;
server_name wXXX.er.pl www.wXXX.er.pl ;
access_log /var/log/nginx/domains/wXXX.er.pl.log;
access_log /var/log/nginx/domains/wXXX.er.pl.bytes bytes;
error_log /var/log/nginx/domains/wXXX.er.pl.error.log;
root /home/rXXX.l/domains/wXXX.er.pl/private_html;
index index.php index.html index.htm;
ssl_certificate /usr/local/directadmin/data/users/rXXX.l/domains/wXXX.er.pl.cert.combined;
ssl_certificate_key /usr/local/directadmin/data/users/rXXX.l/domains/wXXX.er.pl.key;
# Mail auto configuration (Thunderbird)
location = "/.well-known/autoconfig/mail/config-v1.1.xml" {
proxy_pass http://unix:/usr/local/directadmin/shared/internal.sock;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
}
location /
{
# access_log off;
proxy_buffering off;
proxy_pass http://1XXX.5: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;
proxy_hide_header Upgrade;
}
location /nginx_static_files/
{
# access_log /var/log/nginx/access_log_proxy;
alias /home/rXXX.l/domains/wXXX.er.pl/private_html/;
internal;
}
include /etc/nginx/webapps.ssl.conf;
}
 
If the token |PROXY_PASS| was not replaced by DirectAdmin, then I'd guess you did not complete the guide. I would suggest that you double check the steps.
 
1) both files are updated:

nginx_server.conf​

GNU nano 5.4 nginx_server.conf
|?PROXY_PASS=http://`PROXY_IP`:`PORT_8080`|
|CUSTOM1|
|?DOCROOT=`HOME`/domains/`DOMAIN`/public_html|
|?REALDOCROOT=`HOME`/domains/`DOMAIN`/public_html|
|?OPEN_BASEDIR_PATH=`HOME`/:/tmp:/opt/alt/php`PHP1_RELEASE`/usr/share/pear/:/dev/urandom:/var/tmp:/usr/local/lib/php/|
|?HOST_DOMAIN=`DOMAIN`|
|*if HOST_POINTER|
|?HOST_DOMAIN=`HOST_POINTER`|
|*endif|


nginx_server_secure.conf​

GNU nano 5.4 nginx_server_secure.conf
|?PROXY_PASS=https://`PROXY_IP`:`PORT_8081`|
|CUSTOM1|
|?DOCROOT=`HOME`/domains/`DOMAIN`/private_html|
|?REALDOCROOT=`HOME`/domains/`DOMAIN`/private_html|
|?OPEN_BASEDIR_PATH=`HOME`/:/tmp:/opt/alt/php`PHP1_RELEASE`/usr/share/pear/:/dev/urandom:/var/tmp:/usr/local/lib/php/|
|?HOST_DOMAIN=`DOMAIN`|
|*if HOST_POINTER|
|?HOST_DOMAIN=`HOST_POINTER`|
|*endif|
server

2) Update proxy_pass
root@ds:/usr/local/directadmin/data/templates/custom# perl -pi -e "s#proxy_pass http.*:\/\/\|PROXY_IP\|:\|PORT_808.*\|;#proxy_pass \|PROXY_PASS\|;#" nginx_server.conf nginx_server_secure.conf
root@ds:/usr/local/directadmin/data/templates/custom#


3) Customize token - this one I;m unable to complete as when accessing nginx proxy I get an error:
Configuration Syntax Error

nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/nginx-vhosts.conf:40
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/nginx-vhosts.conf:41
nginx: [emerg] invalid URL prefix in /usr/local/directadmin/data/users/residual/nginx.conf:30
nginx: configuration file /etc/nginx/nginx.conf test failed
 
Let's try this:

Code:
cd /usr/local/directadmin/custombuild/
./build rewrite_confs


If it does not help, then try and disable http2 temporary.

Code:
da set http2 0 restart

and then run:

Code:
cd /usr/local/directadmin/custombuild/
./build rewrite_confs

See whether it helps.
 
Back
Top