Jump to content

Machiel92

Members
  • Posts

    1
  • Joined

  • Last visited

Machiel92's Achievements

  1. Hello, I'm setting up my blesta and configurating everything. Now i'm on the TLD adding part. I've connected openprovider module to make blesta connect to the openprovider API. But there is something strange happening. Whenever I update a domain in the TLD price list. It gives a 404 error. I'm running nginx, changed the nginx configuration to the one Blesta recommends. I've added my vhost configuration below. This happens whenever I edit the module on the TLD, so even if I select openprovider or none, it gives a 404. See screenshot. My access log shows the 404: [03/Dec/2021:00:22:13 +0100] "POST /admin/plugin/domains/admin_domains/updatetlds/.de HTTP/2.0" 404 1422 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.104 Safari/537.36" Vhost: server { listen IPADDRESS:443 ssl http2; server_name DOMAIN ; root /home/USER/web/DOMAIN/public_html; index index.php index.html index.htm; access_log /var/log/nginx/domains/DOMAIN.log combined; access_log /var/log/nginx/domains/DOMAIN.bytes bytes; error_log /var/log/nginx/domains/DOMAIN.error.log error; ssl_certificate /home/USER/conf/web/DOMAIN/ssl/DOMAIN.pem; ssl_certificate_key /home/USER/conf/web/DOMAIN/ssl/DOMAIN.key; ssl_stapling on; ssl_stapling_verify on; include /home/USER/conf/web/DOMAIN/nginx.hsts.conf*; location / { try_files $uri /index.php; rewrite ^(.*)/install\.php$ /$1/install/ redirect; } location = /index.php { fastcgi_pass unix:/run/php/php7.4-fpm-DOMAIN.sock; # PHP socket fastcgi_param SCRIPT_FILENAME $document_root/index.php; # Blesta /index.php fastcgi_param SCRIPT_NAME $fastcgi_script_name; include fastcgi_params; } location ~ /\. { log_not_found off; return 404; } location ~* \.(php|pdt|txt)$ { log_not_found off; return 404; } location /error/ { alias /home/USER/web/DOMAIN/document_errors/; } location ~ /\.(?!well-known\/) { deny all; return 404; } location /vstats/ { alias /home/USER/web/DOMAIN/stats/; include /home/USER/web/DOMAIN/stats/auth.conf*; } include /etc/nginx/conf.d/phpmyadmin.inc*; include /etc/nginx/conf.d/phppgadmin.inc*; include /home/USER/conf/web/DOMAIN/nginx.ssl.conf_*; } Well I'm trying to find the issue, so I can continue configuration of Blesta to use it for my customers! Thanks in advance!
×
×
  • Create New...