Nginx index display file not download
I was hoping the solution would be similar, but I haven't been able to figure it out. I think it's the mime. The mime. This is a fresh nginx install. Make sure that mime. This post details how to force nginx to serve an html for download instead of display, so perhaps the reverse works. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? I made it work on digital ocean but the problem is that my apis are not receiving any data in the request. Hi, I am attempting to execute PHP pages within my Nginx root directory, however despite many attempts to fix the issue they continue to be downloaded instead of executing.
One of my DO servers that we are using as a test environment works well most of the time, but at seemingly random times, the server responds with a " Bad Gateway" error. Where would you like to share this to? Twitter Reddit Hacker News Facebook. Share link Question share link. Sign Up. Yes, I'm sure. You previously marked this answer as accepted. Are you sure you want to unaccept it? DigitalOcean home. Community Control Panel. Building intelligent escalation chains for modern SRE.
Podcast Who is building clouds for the independent developer? Featured on Meta. Now live: A fully responsive profile. Reducing the weight of our footer. Linked 0.
Related Hot Network Questions. Question feed. Ubuntu Community Ask! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. Nginx downloads file, not displaying the content Ask Question. Asked 4 years, 5 months ago. Active 4 years, 5 months ago. Viewed 19k times.
0コメント