Pointing chat command at localhost now

This commit is contained in:
Ubergeek 2019-02-19 16:10:55 +00:00
parent b32589a00c
commit c78dbd8e9f
3 changed files with 27 additions and 3 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
weechat-curses -r "/set irc.look.temporary_servers on; /connect irc://`whoami`@irc.tilde.chat:6697/#thunix -ssl"
weechat-curses -r "/set irc.look.temporary_servers on; /connect irc://`whoami`@locahost:6667/#thunix"

View File

@ -0,0 +1,17 @@
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@thunix.net
ServerName thunix.tilde.chat
DocumentRoot /var/www/thunix.cf
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
SSLCertificateFile /etc/letsencrypt/live/thunix.tilde.chat/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.tilde.chat/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>

View File

@ -1,7 +1,14 @@
<VirtualHost *:80>
ServerAdmin webmaster@thunix.net
ServerAdmin webmaster@thunix.net
ServerName thunix.tilde.chat
DocumentRoot /var/www/thunix/chat
DocumentRoot /var/www/thunix.cf
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
RewriteEngine on
RewriteCond %{SERVER_NAME} =thunix.tilde.chat
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>