diff options
| -rw-r--r-- | content/rss-bridge.md | 13 | ||||
| -rw-r--r-- | content/rss-full-text.md | 2 |
2 files changed, 9 insertions, 6 deletions
diff --git a/content/rss-bridge.md b/content/rss-bridge.md index 8afc4bd..8c2a713 100644 --- a/content/rss-bridge.md +++ b/content/rss-bridge.md @@ -40,21 +40,24 @@ And add the following content: ```nginx server { + listen 80; + listen [::]:80; + root /var/www/rss-bridge; index index.php index.html index.htm index.nginx-debian.html; - server_name rss-bridge.example.org; + server_name rss-bridge.thesiah.xyz; location / { - try_files $uri $uri/ =404; + try_files $uri $uri/ =404; } location ~ \.php$ { - include snippets/fastcgi-php.conf; - fastcgi_pass unix:/var/run/php/php-fpm.sock; + include snippets/fastcgi-php.conf; + fastcgi_pass unix:/var/run/php/php-fpm.sock; } location ~ /\.ht { - deny all; + deny all; } } ``` diff --git a/content/rss-full-text.md b/content/rss-full-text.md index 167ab4c..26738b9 100644 --- a/content/rss-full-text.md +++ b/content/rss-full-text.md @@ -77,8 +77,8 @@ server { listen 80; listen [::]:80; - server_name ftr.thesiah.xyz; # Change to your domain root /var/www/ftr; + server_name ftr.thesiah.xyz; # Change to your domain index index.html index.htm index.nginx-debian.html index.php; location / { |
