+ Filebrowser stack
+ Cert setup for filebrowser service This is going to be served under gallery.leftcoast.space for a common fileserver thing that we use as a kind of scrapbook
This commit is contained in:
12
playbooks/alpha/nginx/gallery.leftcoast.space
Normal file
12
playbooks/alpha/nginx/gallery.leftcoast.space
Normal file
@@ -0,0 +1,12 @@
|
||||
# This file contains a base configuration file for the projectathens
|
||||
# It is to be overwritten by certbot later on so adjusting this config
|
||||
# should not happen on the target server
|
||||
|
||||
server {
|
||||
server_name gallery.leftcoast.space;
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8000;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -22,16 +22,22 @@
|
||||
name: certbot
|
||||
classic: yes
|
||||
|
||||
- name: Push Searx Config
|
||||
- name: Push Configs
|
||||
copy:
|
||||
src: search.project-athens.xyz
|
||||
dest: /etc/nginx/sites-available
|
||||
src: "{{item}}"
|
||||
dest: "/etc/nginx/sites-available/{{item}}"
|
||||
loop:
|
||||
- search.project-athens.xyz
|
||||
- gallery.leftcoast.space
|
||||
|
||||
- name: Enable Site in Nginx
|
||||
- name: Enable Sites in Nginx
|
||||
file:
|
||||
src: /etc/nginx/sites-available/search.project-athens.xyz
|
||||
dest: /etc/nginx/sites-enabled/search.project-athens.xyz
|
||||
src: "/etc/nginx/sites-available/{{item}}"
|
||||
dest: "/etc/nginx/sites-enabled/{{item}}"
|
||||
state: link
|
||||
loop:
|
||||
- search.project-athens.xyz
|
||||
- gallery.leftcoast.space
|
||||
|
||||
- name: Restart Nginx
|
||||
service:
|
||||
@@ -44,3 +50,4 @@
|
||||
--domains "{{item}}"
|
||||
loop:
|
||||
- search.project-athens.xyz
|
||||
- gallery.leftcoast.space
|
||||
|
||||
Reference in New Issue
Block a user