* Fixing server name for freechat
- Removing pointless single website push playbook
This commit is contained in:
parent
8c318157e3
commit
962885470b
@ -5,7 +5,7 @@
|
|||||||
server {
|
server {
|
||||||
root /var/www/freechat;
|
root /var/www/freechat;
|
||||||
index index.html;
|
index index.html;
|
||||||
server_name athens-freechat.shockrah.xyz;
|
server_name freechat.shockrah.xyz;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
# This will take care of pushing out
|
|
||||||
---
|
|
||||||
- hosts: web
|
|
||||||
remote_user: web
|
|
||||||
tasks:
|
|
||||||
- name: Clean out remote remote site content
|
|
||||||
file:
|
|
||||||
path: /var/www/freechat
|
|
||||||
state: absent
|
|
||||||
|
|
||||||
- name: Push /public directory to /var/www/freechat
|
|
||||||
copy:
|
|
||||||
src: "{{FC_LOCAL_DOCS}}/public"
|
|
||||||
dest: /var/www/
|
|
||||||
|
|
||||||
- name: Pull up public directory
|
|
||||||
command: mv /var/www/public /var/www/freechat
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user