From cf8e1474769364fe0e77c91b54af2b0e080e9ad2 Mon Sep 17 00:00:00 2001 From: tavo-wasd Date: Mon, 30 Oct 2023 21:51:03 -0600 Subject: [PATCH] rename --- self_hosting/{services => }/examplereverseproxy.conf | 4 +--- self_hosting/{services => }/examplewebsite.conf | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) rename self_hosting/{services => }/examplereverseproxy.conf (73%) rename self_hosting/{services => }/examplewebsite.conf (89%) diff --git a/self_hosting/services/examplereverseproxy.conf b/self_hosting/examplereverseproxy.conf similarity index 73% rename from self_hosting/services/examplereverseproxy.conf rename to self_hosting/examplereverseproxy.conf index e7d854d..746f3f7 100644 --- a/self_hosting/services/examplereverseproxy.conf +++ b/self_hosting/examplereverseproxy.conf @@ -1,12 +1,10 @@ server { - listen 80; listen [::]:80; - server_name example.domain.xyz; + server_name example.org; location / { proxy_pass http://localhost:8080/; } - } diff --git a/self_hosting/services/examplewebsite.conf b/self_hosting/examplewebsite.conf similarity index 89% rename from self_hosting/services/examplewebsite.conf rename to self_hosting/examplewebsite.conf index 31b71df..2298ef8 100644 --- a/self_hosting/services/examplewebsite.conf +++ b/self_hosting/examplewebsite.conf @@ -1,9 +1,8 @@ server { - listen 80; listen [::]:80; - server_name example.domain.xyz; + server_name example.org; root /var/www/examplesite; @@ -18,5 +17,4 @@ server { # include snippets/fastcgi-php.conf; # fastcgi_pass unix:/run/php/php7.4-fpm.sock; #} - }