A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Write for DigitalOcean
You get paid, we donate to tech non-profits.
Find and meet other developers in your city.
Contribute to Open Source
I am using gunicorn and nginx to host . Gzip is olny working with server name .
Can you go into more detail of what exactly isn’t working and your setup?
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
This blog post covers setting up gzip compression in nginx when working with gunicorn and should show you a proven way to accomplish this. If you run into specific issues with this setup let us know.
You can type !ref in this text area to quickly search our full set of tutorials, documentation &
marketplace offerings and insert the link!
How can I have a list of the users existing on my nginx installation, beside the root one?
What can I do about it?
I have a droplet and a website. I can upload my html files to my droplet and see them correctly.
But I just want to see my web pages like this;
and not like this;
How can i do that? Is that possible with nginx settings?
I think I have configure the SSL and nginx correcty by using the guides.
However, the Http request scheme and http scheme is not set to htpps in the system information provided in the admin area.
As a result, all the images uploaded to the site got mixed content error. the images are actually available from an https URL when I change the http to https in the browser.
Mixed Content: The page at 'https://example.com/' was loaded over HTTPS, but requested an insecure image 'http://example.com/content/images/thumbs/5e229c1241809003f1abbd1c.png'. This content should also be served over HTTPS.
I'm guessing the nginx server has some configuration file messing this up somewhere. how do I figure it out and fix this? In the appsetting.json file, I set "UseForwardedHeaders": true but it didn't fix the prob.
I have tried to solve this issues for about 4 days now. Appreciate if you can show me how to fix this.