

Then in the vhost update this bit with your key:Īdd_header Public-Key-Pins "pin-sha256=\"zcoKJuisd789hasddasasd32k4VUxsof3d3w22332b7k=\" max-age=172800 " $sudo openssl rsa -in /etc/nginx/ssl/ulyaoth-phpbb.key -outform der -pubout | openssl dgst -sha256 -binary | openssl enc -base64 Now as final you have to create a “sha256 pin” with the following command: (update so it uses your key) Ssl_trusted_certificate /etc/ssl/certs/ulyaoth-phpbb.ca Ssl_certificate_key /etc/ssl/certs/ulyaoth-phpbb.key Ssl_certificate /etc/nginx/ssl/ulyaoth-phpbb.pem Then double check all the certficiate names and name them how your certificates are names (check the whole file): Now change all the domain names from “” to your domain name, please make sure to double check your whole file. Step 9: Change the phpbb vhost file to fit your setup. Remember if your certificate files are not called “ulyaoth-phpbb.crt”, “ulyaoth-phpbb.key” and “ulyaoth-phpbb.ca” then you have to rename them in your nf vhost file so it will use the right certificates. Sudo $ openssl dhparam -out /etc/nginx/ssl/dhparam.pem 4096 To create your dhparams file please use the following command: Get the certificates from where you bought them or once you generated yourself and place them in:

$ sudo wget -q -O /etc/nginx/sites-available/nf Step 7: Download the vhost and access-list file for nginx Step 6: Move all phpBB files to the right directory $ sudo dnf install -y ulyaoth-nginx ulyaoth-hhvm mariadb mariadb-server policycoreutils-python ImageMagick This guide should also work on RHEL and CentOS but you might need to change some directory locations or use slightly different commands.įor RHEL or CentOS see my repository for more information:Īs I wrote in the top of this post that Ulyaoth repository does no longer support HHVM (ulyaoth-hhvm), you will have to compile or download this somewhere else:

In this guide I will show how you can install phpBB ( ) on Fedora using Nginx and HHVM (old HipHop php). ULYAOTH REPOSITORY NO LONGER SUPPORTS HHVM You can still make this tutorial work but you will need to compile the packages yourself, please be aware our GitHub is not longer updated however: Please be aware the Ulyaoth Repository has been discontinued! Please read:
