I hereby claim:
- I am thekavish on github.
- I am thekavish (https://keybase.io/thekavish) on keybase.
- I have a public key ASCoBncjkRDJoXmqx48KkVq-86m3Vx2ISh5ejxOaHoRY-Qo
To claim this, I am signing this object:
# Add this file in your application root directory | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond $1 !^(index\.php|\.well-known) | |
RewriteRule ^(.*)$ public/$1 [L] | |
</IfModule> |
I hereby claim:
To claim this, I am signing this object:
sudo apt update | |
sudo apt upgrade | |
sudo apt install nginx -y | |
sudo systemctl enable nginx | |
sudo systemctl start nginx | |
sudo systemctl status nginx | |
nginx -v | |
sudo iptables -I INPUT -p tcp --dport 80 -j ACCEPT | |
sudo ufw allow http |
alias art='php artisan' | |
alias artop='art optimize' | |
alias qureta='art queue:retry all' | |
alias tnkr='art tinker' | |
alias artcl='art op:cl' | |
alias arts='art serve' | |
alias top70='cd /e/xampp7.0/htdocs' | |
alias top73='cd /e/xampp/htdocs' | |
alias top74='cd /e/xampp7.4/htdocs' |
<VirtualHost _default_:443> | |
DocumentRoot "C:\xampp74\htdocs\myapp\public" | |
ServerName myapp.test | |
<Directory "C:\xampp74\htdocs\myapp\public"></Directory> | |
SSLEngine on | |
SSLCertificateFile "C:/xampp74/apache/conf/ssl.key/myapp.test.crt" | |
SSLCertificateKeyFile "C:/xampp74/apache/conf/ssl.key/myapp.test.key" | |
</VirtualHost> | |
# Refer -> https://zeropointdevelopment.com/how-to-get-https-working-in-windows-10-localhost-dev-environment/ |
# Copyright (c) 1993-2009 Microsoft Corp. | |
# | |
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows. | |
# | |
# This file contains the mappings of IP addresses to host names. Each | |
# entry should be kept on an individual line. The IP address should | |
# be placed in the first column followed by the corresponding host name. | |
# The IP address and the host name should be separated by at least one | |
# space. | |
# |