Skip to content

Instantly share code, notes, and snippets.

Trần Văn Luận luandevpro

  • Viet Nam
Block or report user

Report or block luandevpro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.js
const getProject = gql`
query project($workspaceId: uuid!) {
project(where: {workspaceId: {_eq: $workspaceId}}) {
id
title
owner {
email
userId
photoURL
}
View Terminal1
sudo systemctl restart nginx
View Terminal1
http {
...
server_names_hash_bucket_size 64;
...
}
View Terminal
sudo nano /etc/nginx/nginx.conf
View Terminal
sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/
View Terminal
server {
listen 80;
listen [::]:80;
root /var/www/example.com/html;
index index.html index.htm index.nginx-debian.html;
server_name example.com www.example.com;
location / {
try_files $uri $uri/ =404;
}
}
View Terminal
sudo nano /etc/nginx/sites-available/example.com
View Terminal
nano /var/www/example.com/html/index.html
View Terminal
sudo chmod -R 755 /var/www/example.com
You can’t perform that action at this time.