Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

wrong format when displaying nodejs page

$
0
0
Hello,

my English is not that good so I tried first in German section of this great forum. But no respons so far.

I installed ghost blogging on my Raspberry Pi in subdirectory /var/www/ghost

If I enter "localhost:2368/ghost" in my browser page is displayed liek it should be.
So far so good, but ...

If I try to access it via "external-serveradress/ghost" it shows up the page very basic without any formations.
Same issue if I go with "Internal-IP-Adress-in-my-network/ghost"
even if I add the port :2368 it i not improving.

It seems that you guys are my last hope, thanks in advance for your support.

This is my entry in my config file:

############################
## Abschnitt ghost intern ##
############################
location /ghost {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://127.0.0.1:2368/ghost;
proxy_redirect off;

}

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>