Web Panel #186
Replies: 6 comments
-
andrei1058 wrote at Apr 3 2016 11:41:57 UTC: can anyone help me? |
Beta Was this translation helpful? Give feedback.
-
Lufu wrote at Apr 3 2016 11:41:57 UTC: No problem for me to visit the page o.o Look at this screenshot: |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at Apr 3 2016 11:41:57 UTC: Because we use a router, it's not possible to just create a directory in /srv/pufferpanel and be able to access it. PufferPanel would have to know about it. Instead, you can create another location block in the nginx configuration. This example assumes the directory is located at
This works because we already have the root set to /srv/pufferpanel for that server block. If the directory you wish to expose is outside of /srv/pufferpanel you can add a root to it like this. This example assumes the directory is located at
Finally, if you would like the directory name to be different than what is shown in the URL, for example you have files at
Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
andrei1058 wrote at Apr 3 2016 11:41:57 UTC: when I go to http://website.com/test it download a file called download :| |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at Apr 3 2016 11:41:57 UTC: Is it a PHP or HTML file that you are trying to serve? If you are trying to serve PHP you'll need to pass it to PHP-FPM. Remember to change the fastcgi_pass to what your system uses. You should be able to find it at the top of the pufferpanel.conf file.
|
Beta Was this translation helpful? Give feedback.
-
andrei1058 wrote at Apr 3 2016 11:41:57 UTC: puffrfish thanks but now it gives me a blank screen :c edit: solved. thanks for help :D |
Beta Was this translation helpful? Give feedback.
-
andrei1058 wrote at Apr 3 2016 11:41:57 UTC:
Hello,
I added a new directory in /srv/pufferpanel but I can't acces it on the browser. What can I do?
Beta Was this translation helpful? Give feedback.
All reactions