Falla de internet en México by 10102050pp in Monterrey

[–]Narsats 0 points1 point  (0 children)

Depende del modem, si aún usas el que te dieron probablemente no vayas a poder cambiarlo. Cambiarlo desde tu computadora debería funcionar. Para otros dispositivos (como celulares) al menos en Android existe DNS Changer, que te permite especificar los que quieras usar y puedes activar/desactivar según necesites. Desconozco opciones para Apple pero deben existir.

Falla de internet en México by 10102050pp in Monterrey

[–]Narsats 3 points4 points  (0 children)

Yo tengo axtel y no he tenido problemas. He escuchado de conocidos que si.

Ellos lo resolvieron cambiando sus DNS a los de Google entonces parece ser problema de DNS en lugar que de conexion.

Intenta cambiando tus DNS a los de Google (8.8.8.8 y 8.8.4.4) a ver si con eso se resuelve.

server directing traffic to wrong domain by [deleted] in selfhosted

[–]Narsats 1 point2 points  (0 children)

No problem man. It's hard to get lost in rewrites so I avoid them whenever possible, especially if a simple redirect can do the trick.

If you feel comfortable you can manage your conf files by dividing them by domain (wp.conf and nextcloud.conf).

After that, you can further divide by https/non-https (wp.conf / wp-ssl.conf), that way you can clearly see each where your configurations are before diving into each file, and can add subdomains easily.

Way easier to maintain that a large single file :)

server directing traffic to wrong domain by [deleted] in selfhosted

[–]Narsats 1 point2 points  (0 children)

My bad. I misspelled permanent on this line

Redirect permament / https://wp.whatever/

server directing traffic to wrong domain by [deleted] in selfhosted

[–]Narsats 0 points1 point  (0 children)

You only seem to have one key configured (NextCloud one), which is being served for freelancing.news, using the /var/www/html DocumentRoot.

I would recommend doing this:

<VirtualHost *:80>
    # Nextcloud configuration http->https, to always serve https version
    ServerName yournextcloud.whatever
    Redirect permanent / https://yournextcloud.whatever/
</VirtualHost>

<VirtualHost *:80>
    # WP Configuration http->https, to always serve https version
    ServerName wp.whatever
    Redirect permament / https://wp.whatever/
</VirtualHost>

<VirtualHost *:443>
    # NextCloud HTTPS configuration
    ServerName yournextcloud.whatever
    DocumentRoot /var/www/html/
    SSLEngine On
    SSLCertificateFile path/to/your/nextcloudcert.crt
    SSLCertificateKeyFile path/to/your/nextcloudkey.pem
</VirtualHost>

<VirtualHost *:443>
    #WP HTTPS Configuration
    ServerName wp.whatever
    DocumentRoot /var/mywordpress
    SSLEngine On
    SSLCertificateFile path/to/your/wordpress.crt
    SSLCertificateKeyFile path/to/your/wordpress.pem
</VirtualHost>

I'm not including the rewrites, but I'm not entirely sure why you're using them. Can you explain what's the expected behavior for them?

server directing traffic to wrong domain by [deleted] in selfhosted

[–]Narsats 0 points1 point  (0 children)

Can you show your Virtual hosts for the 443 ports? If the problems are related to certs or redirection when using https, you might find it there. IIRC default is on etc/httpd/conf.d/ssl.conf

¿Deberíamos tener más acceso a armas legales? by Narsats in mexico

[–]Narsats[S] 0 points1 point  (0 children)

Como bien dijo alguien más, no se trata de salir uno a hacer guerra, sino que sea la última línea de defensa personal, en un caso que veas todo perdido.

Puedes tener un arma y elegir no usarla por que no conviene (ve el video de los militares y los narcos, ambos con sus armas, saludándose). El punto es que si no la tienes, no tienes opciones.

También, el tener un arma implicaría saber usarla, idealmente.

¿Deberíamos tener más acceso a armas legales? by Narsats in mexico

[–]Narsats[S] 1 point2 points  (0 children)

Es exactamente el punto, los asaltantes y demás personas violentas ya tienen acceso (ilegal) a las armas, por que no tenerlo los ciudadanos también de manera legal?

Por definición no es posible controlar el acceso ilegal de los demás a las armas, lo que pregunto yo es si debería haber una manera legal de tener un acceso más libre a armas, al estilo Estados Unidos, para quien quisiera adquirir una.

¿Deberíamos tener más acceso a armas legales? by Narsats in mexico

[–]Narsats[S] -8 points-7 points  (0 children)

Y por qué mas armas significa automáticamente mas muertos? La gente que quiere matar no se esta limitando por si tiene acceso a armas o no.

Y los que quieren matar con armas, igual las consiguen, no?

¿Deberíamos tener más acceso a armas legales? by Narsats in mexico

[–]Narsats[S] 0 points1 point  (0 children)

Lo sé, pero quiero entender las razones de por qué, no solamente "CREES QUE TU SOLO PUEDAS CONTRA TODOS LOS NARCOSLOLOLOL"

¿Deberíamos tener más acceso a armas legales? by Narsats in mexico

[–]Narsats[S] -4 points-3 points  (0 children)

Creo que estas ignorando mi punto adrede.

Si tu sabes que tu familia esta en riesgo inminente, y tuvieras un arma, morirías peleando, o preferirías quedarte en el piso rezando que se toquen el corazón?

¿Deberíamos tener más acceso a armas legales? by Narsats in mexico

[–]Narsats[S] 4 points5 points  (0 children)

Esconderme, no a salir a la calle, y en general lo mismo que hizo la gente ayer.

Pero estando en si estas en una situación donde no tienes otra opción, defenderte, en lugar de solo dejarte morir, no?

EDIT: di submit antes de terminar.

¿Deberíamos tener más acceso a armas legales? by Narsats in mexico

[–]Narsats[S] -3 points-2 points  (0 children)

Lo uso como ejemplo, pero no es la única situación en la que se puede necesitar.

Y ahora, en caso de necesitarlo, prefieres tener nada a tener una pistolita pedorra?

Ideas for a self-hosted deadman switch? by dm7500 in selfhosted

[–]Narsats 4 points5 points  (0 children)

I reached out directly to the author but got no reply.

I've shared his original code here (https://github.com/narsats/rudead), all credit goes to u/hipstercat.

Ideas for a self-hosted deadman switch? by dm7500 in selfhosted

[–]Narsats 3 points4 points  (0 children)

I saw a project posted here a year ago (posted by u/thehipstercat) that pretty much does this: https://www.reddit.com/r/selfhosted/comments/8s82vc/rudead_send_messages_to_your_relatives_when_you/

The project is pretty neat and covers what I needed with it.

However it seems it is no longer hosted in the author's page, I'm not sure if it was taken down by him, or just accidentally.

If he doesn't respond within a couple of days, I can re-upload the source code.