Complicated Documentation #1784
-
Describe the problem/questionAs someone who hosts many services on my own infrastructure, I am finding the PrivateBin documentation to be very lacking and confusing. I downloaded and extracted the tarball, created a user specifically for PrivateBin (I chose At this point, whenever I visit my PrivateBin instance, it automatically downloads the Did you use the FAQ section?
What you did?
What happensWebpage immediately downloads What should happenWebpage loads and PrivateBin can be used. Additional informationNo response Server addressServer OSGentoo Linux WebserverNginx PrivateBin version2.0.3 Browser and versionFirefox 147.0.2 Local operating system and versionGentoo Linux Issue reproducibilityNo, I cannot reproduce it on https://privatebin.net. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Without knowing your server details that our hard to debug. Anyway, when a php file is downloaded (the source contents?) or seems your webserver is not configured correctly to interpret php as php. Apart from that, obviously we're always open to have our documentation improved and pull requests improving that are always appreciated. |
Beta Was this translation helpful? Give feedback.
-
|
That sounds like you haven't installed a PHP runtime. With nginx, PHP scripts typically get executed using the PHP-fpm service, which is connected to nginx via fcgi socket. This is really outside of the scope of our applications installation. If you don't already have PHP applications setup, please look at your operating systems / Linux distros documentation on how to set PHP up with nginx. With apache and mod_php, the setup is different yet again. Alternatively, do have a look at our container images. These come with application servers pre-configured and you only need to reverse proxy your desired vhost in your own nginx back into the containers locally exposed port. |
Beta Was this translation helpful? Give feedback.
That sounds like you haven't installed a PHP runtime. With nginx, PHP scripts typically get executed using the PHP-fpm service, which is connected to nginx via fcgi socket. This is really outside of the scope of our applications installation. If you don't already have PHP applications setup, please look at your operating systems / Linux distros documentation on how to set PHP up with nginx. With apache and mod_php, the setup is different yet again.
Alternatively, do have a look at our container images. These come with application servers pre-configured and you only need to reverse proxy your desired vhost in your own nginx back into the containers locally exposed port.