Virtual Host And Certbot in Raspbian 10: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "{| | valign="top" | ===All Sites=== <source lang="bash"> # chorke.{org,com} mkdir -p /etc/chorke/httpd/conf.sites.all.d cd /etc/chorke/httpd/conf.sites.all.d nano 00-dev.chor...")
 
No edit summary
Line 18: Line 18:
nano 02-dev.chorke.com.conf
nano 02-dev.chorke.com.conf
nano 02-dev.chorke.com-le-ssl.conf
nano 02-dev.chorke.com-le-ssl.conf
</source>


<source lang="bash">
# shahed.{biz}
# shahed.{biz}
mkdir -p /etc/shahed/httpd/conf.sites.all.d
mkdir -p /etc/shahed/httpd/conf.sites.all.d
Line 45: Line 47:
ln -s ../conf.sites.all.d/02-dev.chorke.com.conf 02-dev.chorke.com.conf
ln -s ../conf.sites.all.d/02-dev.chorke.com.conf 02-dev.chorke.com.conf
ln -s ../conf.sites.all.d/02-dev.chorke.com-le-ssl.conf 02-dev.chorke.com-le-ssl.conf
ln -s ../conf.sites.all.d/02-dev.chorke.com-le-ssl.conf 02-dev.chorke.com-le-ssl.conf
</source>


<source lang="bash">
# shahed.{biz}
# shahed.{biz}
mkdir -p /etc/shahed/httpd/conf.sites.enable.d
mkdir -p /etc/shahed/httpd/conf.sites.enable.d

Revision as of 01:52, 16 November 2019

All Sites

# chorke.{org,com}
mkdir -p /etc/chorke/httpd/conf.sites.all.d
cd /etc/chorke/httpd/conf.sites.all.d

nano 00-dev.chorke.org.conf
nano 00-dev.chorke.org-le-ssl.conf

nano 01-api.chorke.org.conf
nano 01-api.chorke.org-le-ssl.conf

nano 01-ihe.chorke.org.conf
nano 01-ihe.chorke.org-le-ssl.conf

nano 02-dev.chorke.com.conf
nano 02-dev.chorke.com-le-ssl.conf
# shahed.{biz}
mkdir -p /etc/shahed/httpd/conf.sites.all.d
cd /etc/shahed/httpd/conf.sites.all.d

nano 00-dev.shahed.biz.conf
nano 00-dev.shahed.biz-le-ssl.conf

Enabled Sites

# chorke.{org,com}
mkdir -p /etc/chorke/httpd/conf.sites.enable.d
cd /etc/chorke/httpd/conf.sites.enable.d

ln -s ../conf.sites.all.d/00-dev.chorke.org.conf 00-dev.chorke.org.conf
ln -s ../conf.sites.all.d/00-dev.chorke.org-le-ssl.conf 00-dev.chorke.org-le-ssl.conf

ln -s ../conf.sites.all.d/01-api.chorke.org.conf 01-api.chorke.org.conf
ln -s ../conf.sites.all.d/01-api.chorke.org-le-ssl.conf 01-api.chorke.org-le-ssl.conf

ln -s ../conf.sites.all.d/01-ihe.chorke.org.conf 01-ihe.chorke.org.conf
ln -s ../conf.sites.all.d/01-ihe.chorke.org-le-ssl.conf 01-ihe.chorke.org-le-ssl.conf

ln -s ../conf.sites.all.d/02-dev.chorke.com.conf 02-dev.chorke.com.conf
ln -s ../conf.sites.all.d/02-dev.chorke.com-le-ssl.conf 02-dev.chorke.com-le-ssl.conf
# shahed.{biz}
mkdir -p /etc/shahed/httpd/conf.sites.enable.d
cd /etc/shahed/httpd/conf.sites.enable.d

ln -s ../conf.sites.all.d/00-dev.shahed.biz.conf 00-dev.shahed.biz.conf
ln -s ../conf.sites.all.d/00-dev.shahed.biz-le-ssl.conf 00-dev.shahed.biz-le-ssl.conf