Closed gldhnchn closed 6 years ago
I made it now, it is really simple indeed.
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_pass http://127.0.0.1:8080;
Here it is written, that it is possible to run cherrymuic behind nginx. I've played around with uwsgi and made it to a hello world page, but I have no clue how to access cherrymusic via nginx and uwsgi. Is there someone who can give me a hint?
I tried it with
uwsgi_pass 127.0.0.1:8080
while cherrymusic was running, but only got "HTTP requires CRLF terminators" when trying to load cherrymusic in the web browser.