⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
etc
/
nginx
/
sites-enabled
/
Edit File: default
server { server_name sinomaxx.de www.sinomaxx.de; root /var/www/sinomaxx; index index.php index.html; location / { try_files $uri $uri/ /index.php?q=$uri&$args; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php7.1-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location ~ /\.ht { deny all; } } server { listen 80; server_name api2.uygarsa.com; root /var/www/html/; 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:/var/run/php/php8.1-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; include fastcgi_params; } location ~ /\.(?!well-known).* { deny all; } } server { listen 80; server_name election.uygarsa.com; root /var/www/html/vue/dist/; 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:/var/run/php/php8.0-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; include fastcgi_params; } location ~ /\.(?!well-known).* { deny all; } } server { server_name muhasebe.uygarsa.com; root /var/www/muhasebe/public; index index.php index.html; location / { try_files $uri $uri/ /index.php?q=$uri&$args; } location ~* \.(eot|ttf|woff|woff2)$ { add_header Access-Control-Allow-Origin *; } location ~ \.php$ { fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; include fastcgi_params; } location ~ /\.ht { deny all; } # listen 443 ssl; # managed by Certbot # ssl_certificate /etc/letsencrypt/live/muhasebe.uygarsa.com/fullchain.pem; # managed by Certbot #ssl_certificate_key /etc/letsencrypt/live/muhasebe.uygarsa.com/privkey.pem; # managed by Certbot #include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot #ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot } server { server_name work.uygarsa.com; root /var/www/work/public; index index.php index.html; location / { try_files $uri $uri/ /index.php?q=$uri&$args; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location ~ /\.ht { deny all; } } server { server_name appwrite.uygarsa.com; location / { proxy_read_timeout 1800; proxy_connect_timeout 1800; proxy_send_timeout 1800; send_timeout 1800; proxy_pass http://localhost:5000; proxy_http_version 1.1; proxy_set_header Host $host:$server_port; 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; } } server { server_name openai.uygarsa.com; location / { proxy_read_timeout 1800; proxy_connect_timeout 1800; proxy_send_timeout 1800; send_timeout 1800; proxy_pass http://localhost:3333; proxy_http_version 1.1; proxy_set_header Host $host:$server_port; 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; } listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/openai.uygarsa.com/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/openai.uygarsa.com/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot } server { server_name allsinomaxx.uygarsa.com; location / { proxy_pass http://localhost:88; 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; } } server { server_name database.uygarsa.com; root /var/www/phpmyadmin; index index.php index.html; client_max_body_size 100M; location / { try_files $uri $uri/ /index.php?q=$uri&$args; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location ^~ /data { deny all; } } server { server_name dnc.uygarsa.com; root /var/www/dnc; index index.php index.html; client_max_body_size 100M; location / { try_files $uri $uri/ /index.php?q=$uri&$args; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location ^~ /data { deny all; } } server { server_name chip.uygarsa.com; root /var/www/chip; index index.php index.html; client_max_body_size 100M; location / { try_files $uri $uri/ /index.php?q=$uri&$args; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location ^~ /data { deny all; } } server { server_name sinomaxx.uygarsa.com; root /var/www/sinomaxx; index index.php index.html; location / { try_files $uri $uri/ /index.php?q=$uri&$args; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location ~ /\.ht { deny all; } } server { if ($host = appwrite.uygarsa.com) { return 301 https://$host$request_uri; } listen 80; listen [::]:80; server_name appwrite.uygarsa.com; return 404; } server { if ($host = uygarsa.com) { return 301 https://$host$request_uri; } listen 80; listen [::]:80; server_name uygarsa.com; return 404; } server { if ($host = openai.uygarsa.com) { return 301 https://$host$request_uri; } listen 80; listen [::]:80; server_name openai.uygarsa.com; return 404; } server { if ($host = sinomaxx.uygarsa.com) { return 301 https://$host$request_uri; } listen 80; listen [::]:80; server_name sinomaxx.uygarsa.com; return 404; } server { if ($host = database.uygarsa.com) { return 301 https://$host$request_uri; } listen 80; listen [::]:80; server_name database.uygarsa.com; return 404; } server { if ($host = mydry.com) { return 301 https://$host$request_uri; } listen 80; listen [::]:80; server_name mydry.com; return 404; } server { if ($host = sinomaxx.de) { return 301 https://$host$request_uri; } listen 80; listen [::]:80; server_name sinomaxx.de; return 404; } server { server_name test.uygarsa.com; root /var/www/test/public; index index.php index.html; client_max_body_size 100M; location / { try_files $uri $uri/ /index.php?q=$uri&$args; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location ^~ /data { deny all; } } server { if ($host = test.uygarsa.com) { return 301 https://$host$request_uri; } listen 80; listen [::]:80; server_name test.uygarsa.com; return 404; } server { if ($host = openai.uygarsa.com) { return 301 https://$host$request_uri; } # managed by Certbot server_name openai.uygarsa.com; listen 80; return 404; # managed by Certbot } server { if ($host = muhasebe.uygarsa.com) { return 301 https://$host$request_uri; } # managed by Certbot server_name muhasebe.uygarsa.com; listen 80; return 404; # managed by Certbot }
Simpan