HAProxy Manager
Dashboard
๐ Add Domain
Domains
Frontends
Backends
Configs
Servers
ACL Rules
Certs
Gunicorn
Firewall
Check Domain
Settings
Login
๐
Frontends
โ๏ธ
Backends
๐งพ Web Server Config
Select a server to view its configuration
Server
nginx
apache
File
-- Select a config file --
api.camthis.net.conf
api.cyvoo.com.conf
appapi.cyvoo.com.conf
be.cyvoo.com.conf
haproxy.lawmatic.vn.conf
kong.cyvoo.com.conf
noviv.com.conf
All
0-9
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
View
Directory:
/etc/nginx/conf.d/
# HTTP server block: Redirect all HTTP traffic to HTTPS server { if ($host = noviv.com) { return 301 https://$host$request_uri; } # managed by Certbot listen 127.0.0.1:80; server_name noviv.com; root /var/www/noviv.com/public; index index.php index.html index.htm; #return 301 https://$host$request_uri; # Permanent redirect to HTTPS } # HTTPS server block: Serve content with PHP-FPM and SSL server { listen 127.0.0.1:443 ssl; server_name noviv.com; root /var/www/noviv.com/public; # SSL configuration ssl_certificate /etc/letsencrypt/live/noviv.com/fullchain.pem; # managed by Certbot # Verify this path ssl_certificate_key /etc/letsencrypt/live/noviv.com/privkey.pem; # managed by Certbot # Verify this path ssl_protocols TLSv1.2 TLSv1.3; # Secure protocols ssl_ciphers HIGH:!aNULL:!MD5; # Secure ciphers ssl_prefer_server_ciphers on; # Security headers add_header X-Frame-Options "SAMEORIGIN"; add_header X-XSS-Protection "1; mode=block"; add_header X-Content-Type-Options "nosniff"; index index.html index.htm index.php; charset utf-8; location / { try_files $uri $uri/ /index.php?$query_string; } location = /favicon.ico { access_log off; log_not_found off; } location = /robots.txt { access_log off; log_not_found off; } error_page 404 /index.php; location ~ \.php$ { fastcgi_pass unix:/run/php/php8.2-fpm.sock; # Use Unix socket fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; include fastcgi_params; } location ~ /\.(?!well-known).* { deny all; } }
Save
Reload