Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I have a Django with Nginx configuration which is working fine, here is my configuration:
- server {
- listen 80;
- server_name my.hiddendomain.com;
-
- location / {
- proxy_pass http://127.0.0.1:8000;
- 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-Proto $scheme;
- }
-
- location /static/ {
- alias /path/to/your/static/files/;
- }
-
- location /media/ {
- alias /path/to/your/media/files/;
- }
- }
I need to add a custom php script on the same domain however it’s not working. For testing purposes, I’ve created a <?php phpinfo(); file but it’s not working.
In the config file I’ve shown above I’ve added
location /custom-php {
alias /var/www/html/info.php
}
When I attempt to open the file, the url loads however I get a pop-up asking me where to download the file.
How to resolve this please?
009fd274aeae48f2bfbda6ef568676
Cloudstream Apk
032f50ee7f7d489db3b05e204fe139
032f50ee7f7d489db3b05e204fe139
Edward Sitarski
ebeecroft
dashan
34bcef38725b4e6eb5224ae028f17e
markatango
gouskova