| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /etc/nginx/sites-available/ |
Upload File : |
##
# Default server configuration
##
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
# --------------------------------------------------
# OpenTimestamps API reverse proxy
# /ots/* --> http://127.0.0.1:5000/*
# --------------------------------------------------
location = /ots {
return 301 /ots/;
}
location /ots/ {
rewrite ^/ots/(.*)$ /$1 break;
proxy_pass http://127.0.0.1:5000;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# Bearer token (API auth)
proxy_set_header Authorization $http_authorization;
proxy_connect_timeout 10s;
proxy_send_timeout 30s;
proxy_read_timeout 30s;
}
# --------------------------------------------------
# Default static site
# --------------------------------------------------
location / {
try_files $uri $uri/ =404;
}
# PHP (disabilitato, lasciato come riferimento)
#
#location ~ \.php$ {
# include snippets/fastcgi-php.conf;
# fastcgi_pass unix:/run/php/php8.2-fpm.sock;
#}
# Sicurezza .htaccess
#
#location ~ /\.ht {
# deny all;
#}
}