SM0 She11
Path:
/
/
etc
/
nginx_OLD
/
conf.d
Full Path (server): /etc/nginx_OLD/conf.d
Create Fil3
Upl04d Fil3
📄 159.69.37.177.conf
[E]
[D]
[R]
📄 hostname-ssl.conf
[E]
[D]
[R]
📄 hostname.conf
[E]
[D]
[R]
📁 vhosts
Open
[D]
[R]
📄 vhosts.conf
[E]
[D]
[R]
Editing: 159.69.37.177.conf
server { listen 159.69.37.177:80; server_name 159.69.37.177; access_log /usr/local/apache/domlogs/159.69.37.177.bytes bytes; access_log /usr/local/apache/domlogs/159.69.37.177.log combined; error_log /usr/local/apache/domlogs/159.69.37.177.error.log error; location / { location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso|woff|ttf|svg|eot|sh)$ { root /usr/local/apache/htdocs/; expires max; try_files $uri @backend; } location ~ ^/~(.+?)(/.*)?$ { internal; proxy_pass http://159.69.37.177:8181; include proxy.inc; } error_page 405 = @backend; error_page 500 = @custom; add_header X-Cache "HIT from Backend"; proxy_pass http://159.69.37.177:8181; include proxy.inc; } location @backend { internal; proxy_pass http://159.69.37.177:8181; include proxy.inc; } location @custom { internal; proxy_pass http://159.69.37.177:8181; include proxy.inc; } location ~ .*\.(php|jsp|cgi|pl|py)?$ { proxy_pass http://159.69.37.177:8181; include proxy.inc; } location ~ /\.ht {deny all;} location ~ /\.svn/ {deny all;} location ~ /\.git/ {deny all;} location ~ /\.hg/ {deny all;} location ~ /\.bzr/ {deny all;} disable_symlinks if_not_owner from=/usr/local/apache/htdocs/; location /.well-known/acme-challenge { default_type "text/plain"; alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge; } location /pma { proxy_pass https://127.0.0.1:2031; include proxy.inc; } location /roundcube { proxy_pass https://127.0.0.1:2031; include proxy.inc; } }
Save