Nginx

[Tutorial] Adding Lets Encrypt to Gitea

In the last post I showed you how to set up Gitea with Nginx on an Ubuntu box. Now we’ll set up a Lets Encrypt certificate on that install. For this part we need to download some extra software from Lets Encrypt. It is very easy an takes just a couple of minutes to Finnish the whole process. Run the following commands. sudo apt-get update sudo apt-get install software-properties-common sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-nginx Now we have installed the software we need.…

Keep reading

[Tutorial] Set up Gitea with Nginx.

In this tutorial I’ll go through the steps to set up your own Gitea instance with Nginx. There are probably several different methods to achieve the same goal, this is how I recommend it. Prerequisites A server/vps with Ubuntu 16.04 LTS and Nginx already installed. The server should also be set up with a FQDN and be available live. In this tutorial I’ll be using example.com as the FQDN. You also need an user that is in the sudo group and with the possibility to…

Keep reading

WordPress and Nginx

This is just a small writeup on setting up WordPress on a Nginx server running Ubuntu 16.04 LTS. The prerequisite is also that is has PHP and MySql. Basically this post is a summary of my other posts on WP and Nginx. So with the basic stuff out of the way let us jump right in to the nitty-gritty of the setup. I’ll assume that you set up the vhost manually and edit the file with a sudo user in the terminal of the server. I’ll have…

Keep reading

More Nginx and WordPress challenges [updated]

As I was writing about in the last post, there where some problems getting every thing to work with WP, Ubuntu and Nginx. One of the problems I got, was kind of a biggie. TL;DR; Having problem with Nginx running WordPress and xmlrpc.php POST requests? Check that the fastcgi_params is included in your nginx.conf. WordPress in it self is a very good and popular platform for publishing to the web. And the web interface has matured over the years, and are a real treat to use.…

Keep reading

WordPress on Nginx

Running WordPress on server with Nginx is not a problem. However getting “pretty” permalinks can be a challenge. What you need to do, is to add an extra directive to your vhost setting for the domain you host your blog on. Depending on how you’ve set up your blog the way varies. If you’ve done it the hard core way in terminal using wget, tar and vi – you probably already know what to do… If you are using software like ISPConfig, you need to edit the nginx Directives…

Keep reading