partial problems with WP behind reverse proxy
-
Hello,
I have installed a WP site on a Ubuntu 18.04 machine. This machine runs behind an Apache reverse proxy. The page at this moment is a barebone installation (No plugins). I can access and admin the site without problems. However, the following tasks, do not complete and do not produce any errors.
* Creating tags or categories in the management interface, the browser’s network monitor reports a POST to admin-ajax.php but stays pending. Creating tags or categories from the post editor works.
* Importing WordPress XML triggers a post to admin.php, and again nothing happens.
* Using the multi-file uploader also does not work. Using single file uploads works without problems.
NGINX config of internal server
server { listen 80; listen [::]:80; server_name diettech.org; # disable_symlinks on from=$document_root; root /var/www/html/wordpress_5.2; index index.php; access_log /var/www/html/logs/access.log; error_log /var/www/html/logs/error.log; location / { try_files $uri $uri/ /index.php?$args; # try_files \$uri \$uri/ =404; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; include fastcgi_params; } location ~ /\.ht { deny all; } }
# Apache config of public server
<VirtualHost *:80> ServerName diettech.org ServerAdmin webmaster@localhost ProxyRequests Off <Location "/"> ProxyPass "https://internal/" ProxyPassReverse "https://internal/" ProxyPreserveHost on Require all granted </Location> Loglevel info ErrorLog /var/log/apache2/diettech_error.log CustomLog /var/log/apache2/diettech_access.log combined </VirtualHost>
I’ve tried with different configurations found online but always the same problems. Apparently there no access reported to the servers logs.
I’ve set up WordPress in Debug mode, but I am also not catching any errors.
Thank you in advance for any pointers.
The page I need help with: [log in to see the link]
- The topic ‘partial problems with WP behind reverse proxy’ is closed to new replies.