<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Nginx on Janik von Rotz</title>
    <link>https://janikvonrotz.ch/tags/nginx/</link>
    <description>Recent content in Nginx on Janik von Rotz</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 09 Nov 2021 09:13:06 +0100</lastBuildDate>
    <atom:link href="https://janikvonrotz.ch/tags/nginx/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Nginx, Loki, Promtail and Grafana</title>
      <link>https://janikvonrotz.ch/2021/11/09/nginx-loki-promtail-and-grafana/</link>
      <pubDate>Tue, 09 Nov 2021 09:13:06 +0100</pubDate>
      <guid>https://janikvonrotz.ch/2021/11/09/nginx-loki-promtail-and-grafana/</guid>
      <description>&lt;p&gt;Hey devops engineer, you don&amp;rsquo;t need Logtail, Sentry, Datadog or any other SaaS/PaaS service to manage your logs. Collecting and analyzing log files is super easy with the LPG-stack. Another acronym that stands for &lt;strong&gt;Loki, Promtail and Grafana&lt;/strong&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Nginx WAF with ModSecurity and OWASP CRS</title>
      <link>https://janikvonrotz.ch/2020/02/26/nginx-waf-with-modsecurity-and-owasp-crs/</link>
      <pubDate>Wed, 26 Feb 2020 08:57:31 +0100</pubDate>
      <guid>https://janikvonrotz.ch/2020/02/26/nginx-waf-with-modsecurity-and-owasp-crs/</guid>
      <description>&lt;p&gt;This tutorial explains how to enable and test the Open Web Application Security Project Core Rule Set (OWASP CRS) for use with the Nginx and ModSecurity. We are going to setup a Docker Compose project and deploy a ModSecurity enabled Nginx container with the CRS. Everything will be done using Open Source tools only.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Puppet masterless project setup guide</title>
      <link>https://janikvonrotz.ch/2018/12/08/puppet-masterless-project-setup-guide/</link>
      <pubDate>Sat, 08 Dec 2018 09:25:50 +0100</pubDate>
      <guid>https://janikvonrotz.ch/2018/12/08/puppet-masterless-project-setup-guide/</guid>
      <description>&lt;p&gt;This document is a proposal for a Puppet project setup. It covers the setup of masterless Puppet module and provides a layout for a proper project structure. It will give you an example for a nginx module that can be deployed locally and remote. Further the roles and profiles concept will be applied and coupled with the hiera configuration data.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Configure Let’s Encrypt auto renewal for certificates</title>
      <link>https://janikvonrotz.ch/2016/02/14/configure-lets-encrypt-auto-renewal-for-certificates/</link>
      <pubDate>Sun, 14 Feb 2016 22:28:26 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2016/02/14/configure-lets-encrypt-auto-renewal-for-certificates/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/ddce334cd8ab21a40941&#34;&gt;https://gist.github.com/ddce334cd8ab21a40941&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. So far it works well and makes it easy to obtain a free certificate. Now the created certificates will expire withing 90 days. This post will show you how you can auto renew these certificates before they expire.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install Let’s Encrypt and create a free SSL certificate</title>
      <link>https://janikvonrotz.ch/2015/12/04/install-lets-encrypt-and-create-a-free-ssl-certificate/</link>
      <pubDate>Fri, 04 Dec 2015 11:23:57 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2015/12/04/install-lets-encrypt-and-create-a-free-ssl-certificate/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/2e0ee4cf7e04bb75742d&#34;&gt;https://gist.github.com/2e0ee4cf7e04bb75742d&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://letsencrypt.org/&#34;&gt;Let’s Encrypt&lt;/a&gt; is a free, automated, and open certificate authority (CA), run for the public’s benefit. Let’s Encrypt is a service provided by the Internet Security Research Group (ISRG). This guide shows you how you can obtain a free SSL certificate.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Superb Java development with Gradle, Hibernate, FlywayDB, JavaFX and Eclipse - Part 1</title>
      <link>https://janikvonrotz.ch/2015/03/03/superb-java-development-with-gradle-hibernate-flywaydb-javafx-and-eclipse-part-1/</link>
      <pubDate>Tue, 03 Mar 2015 23:53:04 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2015/03/03/superb-java-development-with-gradle-hibernate-flywaydb-javafx-and-eclipse-part-1/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;Wow that&amp;rsquo;s the best Java tutorial I&amp;rsquo;ve seen so far!&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;-You in a few minutes.&lt;/p&gt;&#xA;&lt;p&gt;Sounds selfish, doesn&amp;rsquo;t it? Well it has the right to be, it took me 2 hours to write that! Don&amp;rsquo;t hesitate now and turn on your dev machine.&#xA;After this tutorial you have to rethink your Java development process and if you don&amp;rsquo;t have one yet this is the best place to start.&#xA;I will show you the most advanced tools to speed up your Java development environment and collaboration capabilities.&#xA;In this tutorial we are going to develop a simple MVC (Model, View, Controller) application ruled by the DRY (Don&amp;rsquo;t repeat yourself) approach.&lt;/p&gt;&#xA;&lt;p&gt;The crappy picture below shows what&amp;rsquo;s going on according to my brain.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://janikvonrotz.ch/wp-content/uploads/2015/03/Project-Concept.png&#34; alt=&#34;Project Concept&#34;&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install piwik website</title>
      <link>https://janikvonrotz.ch/2014/04/22/install-piwik-website/</link>
      <pubDate>Tue, 22 Apr 2014 06:43:16 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/04/22/install-piwik-website/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/9640540&#34;&gt;https://gist.github.com/9640540&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;Piwik is the leading open source web analytics platform that gives you valuable insights into your website’s visitors, your marketing campaigns and much more, so you can optimize your strategy and online experience of your visitors.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install QR code service</title>
      <link>https://janikvonrotz.ch/2014/04/17/install-qr-code-service/</link>
      <pubDate>Thu, 17 Apr 2014 10:35:03 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/04/17/install-qr-code-service/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/9445729&#34;&gt;https://gist.github.com/9445729&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;To generate QR codes with php we are using the project &lt;a href=&#34;https://codeberg.org/janikvonrotz/QR-Generator-PHP&#34;&gt;QR Generator PHP&lt;/a&gt; hosted on GitHub.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install phpMyAdmin website</title>
      <link>https://janikvonrotz.ch/2014/04/14/install-phpmyadmin-website/</link>
      <pubDate>Mon, 14 Apr 2014 09:49:37 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/04/14/install-phpmyadmin-website/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/9392925&#34;&gt;https://gist.github.com/9392925&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Increase Max Upload for php5-fpm website</title>
      <link>https://janikvonrotz.ch/2014/04/11/increase-max-upload-for-php5-fpm-website/</link>
      <pubDate>Fri, 11 Apr 2014 06:55:10 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/04/11/increase-max-upload-for-php5-fpm-website/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/9604715&#34;&gt;https://gist.github.com/9604715&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;In some cases the default memory allocation for php is not enough to run an application properly.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install Nginx php5-fpm website</title>
      <link>https://janikvonrotz.ch/2014/04/11/install-nginx-php5-fpm-website/</link>
      <pubDate>Fri, 11 Apr 2014 06:52:52 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/04/11/install-nginx-php5-fpm-website/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/9445746&#34;&gt;https://gist.github.com/9445746&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;This is a minimal Nginx configuration to run php based websites/ applications.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Redirected subdomains to domain</title>
      <link>https://janikvonrotz.ch/2014/04/04/redirected-subdomains-to-domain/</link>
      <pubDate>Fri, 04 Apr 2014 06:59:12 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/04/04/redirected-subdomains-to-domain/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/9433480&#34;&gt;https://gist.github.com/9433480&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;A website has to be only accessible by one specific host name. Otherwise search engines will index your website two or more times.&#xA;A lot of people think that a website should only be published as &lt;code&gt;www.[host]&lt;/code&gt;.&#xA;I think this is wrong, using the &lt;code&gt;www&lt;/code&gt; section is a old fashioned way of how companies have structured their DNS records.&#xA;There are users which still use the &lt;code&gt;www&lt;/code&gt; before tipping an url and others who don&amp;rsquo;t.&#xA;However we will allow both of them to access our website.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Nginx SSL website</title>
      <link>https://janikvonrotz.ch/2014/04/03/nginx-ssl-website/</link>
      <pubDate>Thu, 03 Apr 2014 07:54:04 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/04/03/nginx-ssl-website/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/9408793&#34;&gt;https://gist.github.com/9408793&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;This best practice shows you the most advanced SSL configurations for your Nginx website.&#xA;For productive usage it&amp;rsquo;s recommended to use only public-signed certificates.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Node.js Nginx proxy website</title>
      <link>https://janikvonrotz.ch/2014/04/02/node-js-nginx-proxy-website/</link>
      <pubDate>Wed, 02 Apr 2014 06:52:03 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/04/02/node-js-nginx-proxy-website/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/9407504&#34;&gt;https://gist.github.com/9407504&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;It&amp;rsquo;s recommanded to publish a Node.js application with a Nginx proxy website.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Nginx minimal website</title>
      <link>https://janikvonrotz.ch/2014/04/01/nginx-minimal-website/</link>
      <pubDate>Tue, 01 Apr 2014 07:57:42 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/04/01/nginx-minimal-website/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/9408741&#34;&gt;https://gist.github.com/9408741&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;This is a minimal Nginx website configuration. It&amp;rsquo;s a good way to start your next project.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install Nginx</title>
      <link>https://janikvonrotz.ch/2014/03/31/install-nginx/</link>
      <pubDate>Mon, 31 Mar 2014 09:43:19 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/03/31/install-nginx/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/9345486&#34;&gt;https://gist.github.com/9345486&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;Nginx (pronounced &amp;ldquo;engine-ex&amp;rdquo;) can be used as an open source reverse proxy server, as well as a load balancer, HTTP cache, and not to forget a fast and powerful web server.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Step by Step: Install WordPress Blog</title>
      <link>https://janikvonrotz.ch/2014/03/22/step-by-step-install-wordpress-blog/</link>
      <pubDate>Sat, 22 Mar 2014 10:26:15 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/03/22/step-by-step-install-wordpress-blog/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Latest Version of this guide: &lt;a href=&#34;https://gist.github.com/9320678&#34;&gt;https://gist.github.com/9320678&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Finishing this guide you&amp;rsquo;ll get:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A running WordPress installation&lt;/li&gt;&#xA;&lt;li&gt;Nginx proxy with PHP and Fast CGI&lt;/li&gt;&#xA;&lt;li&gt;MySQL server accessible with phpMyAdmin&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>Step by Step: Install Ghost Blog</title>
      <link>https://janikvonrotz.ch/2014/03/03/step-by-step-install-ghost-blog/</link>
      <pubDate>Mon, 03 Mar 2014 16:34:55 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/03/03/step-by-step-install-ghost-blog/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Latest Version of this guide: &lt;a href=&#34;https://gist.github.com/8542013&#34;&gt;https://gist.github.com/8542013&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Finishing this guide you&amp;quot;ll get:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A running Ghost installation&lt;/li&gt;&#xA;&lt;li&gt;Amazon SES mail configuration&lt;/li&gt;&#xA;&lt;li&gt;Simple ssh hardenings&lt;/li&gt;&#xA;&lt;li&gt;Nginx proxy&lt;/li&gt;&#xA;&lt;li&gt;Node.js configured with forever&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Specification of latest running installation:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Date: 21.01.2014&lt;/li&gt;&#xA;&lt;li&gt;OS: Ubuntu 64 bit - 12.04.4 LTS&lt;/li&gt;&#xA;&lt;li&gt;Provider: Amazon EC2&lt;/li&gt;&#xA;&lt;li&gt;Mail service: Amazon SES&lt;/li&gt;&#xA;&lt;li&gt;Browser: Google Chrome - 31.0.1650.63&lt;/li&gt;&#xA;&lt;li&gt;Ghost: 0.4&lt;/li&gt;&#xA;&lt;li&gt;Node: 0.10.24&lt;/li&gt;&#xA;&lt;li&gt;npm: 1.3.21&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
  </channel>
</rss>
