Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/senocak/laravel-livewire-blog

Fullstack blog application with Laravel & Livewire
https://github.com/senocak/laravel-livewire-blog

blog laravel laravel-framework livewire php

Last synced: 24 days ago
JSON representation

Fullstack blog application with Laravel & Livewire

Awesome Lists containing this project

README

        



- docker run --name mysql -p 3310:3306 -e MYSQL_ROOT_PASSWORD=senocak -d mysql:8.0.1
- docker run --name phpmyadmin2 -d --link mysql:db -p 3320:80 phpmyadmin/phpmyadmin
- docker exec -it mysql bash
- docker build -t senocak:1.0 .
- docker rm -f senocak
- docker run -d -p 31:8181 --name senocak senocak:1.0
- docker exec -it senocak bash
- ProxyServer
- docker pull nginx:alpine
- docker volume create volume-nginx
- docker run -d --restart always --name proxy -p 80:80 -p 443:443 -p 23:23 -v volume-nginx:/etc/nginx nginx:alpine
- cd /var/lib/docker/volumes/volume-nginx/_data/conf.d/
- ls
- disable ubuntu firewall
- service ufw stop


server {
listen 80 ;
listen [::]:80 ;
server_name www.asenocak.com asenocak.com;

location / {

#try_files $uri $uri/ =404;
proxy_pass http://159.89.19.135:31;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
keepalive_timeout 10m;
proxy_connect_timeout 600s;
proxy_send_timeout 600s;
proxy_read_timeout 600s;
fastcgi_send_timeout 600s;
fastcgi_read_timeout 600s;

} #location tag
}#server tag