Hi,
I want to point mein website www.example.com to my wordpress docker container. Rigth now my config file looks as follows:
server {
listen 80;
server_name www.example.com example.com;
index index.php index.html;
location / {
proxy_pass http://localhost:8080;
include /etc/nginx/proxy_params;
}
That works but the webserver always rewrites the URL to www.example.com:8080 I don't want it that way. Is there an other way to simply point my website to the wordpress docker port? I also want to force https for at least www.example.com/wp-admin/ how is that possible?
I want to point mein website www.example.com to my wordpress docker container. Rigth now my config file looks as follows:
server {
listen 80;
server_name www.example.com example.com;
index index.php index.html;
location / {
proxy_pass http://localhost:8080;
include /etc/nginx/proxy_params;
}
That works but the webserver always rewrites the URL to www.example.com:8080 I don't want it that way. Is there an other way to simply point my website to the wordpress docker port? I also want to force https for at least www.example.com/wp-admin/ how is that possible?