I successfully restore, and set my domains but CSS and all seem to be broken ![]()
Itās not when i access it via public_ip, so i guess itās nginx configuration, still ?
I successfully restore, and set my domains but CSS and all seem to be broken ![]()
Itās not when i access it via public_ip, so i guess itās nginx configuration, still ?
what is the current setup? Plain Nginx?
I use dietpi-software to install a fresh wordpress, import the database and restore the folders after on the folder made by wordpress.
I still use nginx proxy manager to make the proxy.
On publicip it look like this :
Hereās my NPM config for my domain :
how do you access it from within your local network?
Using IP or DDNS?
The pi is outside my local network, so i use the public_ip to reach it. Got a fix ip and set the DNS on OVH
Ok by logging to the debbug of firefox, i can see itās because the website got mixed content between HTTP and HTTPS.
So now itās conflict again with nginx proxy manager, because the nginx.conf donāt have settings for ssl.
Maybe youāre right i should uninstall npm and just start from it. But iām worried about the managing of domains after that. But also, i only got two domains to restore and two wordpress website, so it shouldnāt be that hard.
Or, maybe i could fix the https issue locally ? but i guess it will conflict with the certificate made by npm.
There is still a misunderstanding on how the scenario is working. If using NPM, there is nothing to be configure in local nginx, except the local http port. The whole domain and SSL handling is done by NPM.
Means NPM will handle whole traffic on port 80/443.
The local nginx should stay without any SSL confirmation.
To have it correctly working, it is important to access the web site using your domain name. SSL is not working using IP address.
Yeah ok, so it was a mess. But i finally fix everything !
So, yeah, nginx couldnāt do anything for most of the part. Because the main problem was somes old url, mixing with the new url in my database. And the new and old also mixed http and https.
So i have to use⦠a plugin to fix that (this one : Really Simple SSL ā WordPress plugin | WordPress.org) and also use a SQL query to change some old url
And it basically fix all the problem with mixed content and bring my site back ! (here
https://alchimia.ink)
Edit : Oh, nevermind. Now for some reasons ALL pages except the homepage and the admin bring a 404 errorā¦
Re-Edit : Need to simply save in settings/permalink to make all things comeback. Everything good now !
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.