.\cloudflared tunnel login
.\cloudflared tunnel create tunnel_name
#!/bin/bash | |
# Note, we are using "echo 3", but it is not recommended in production instead use "echo 1" | |
echo "sudo echo 1 > /proc/sys/vm/drop_caches" |
server { | |
access_log /edx/var/log/nginx/your-domain.access.log p_combined; | |
error_log /edx/var/log/nginx/your-domain.error.log error; | |
server_name your-domain; | |
location @proxy_to_lms_app { | |
proxy_set_header X-Forwarded-Proto $scheme; | |
proxy_set_header X-Forwarded-Port $server_port; | |
proxy_set_header X-Forwarded-For $remote_addr; | |
proxy_set_header Host $http_host; |
say: | |
echo 'Hello DevX!' | |
editable: | |
sudo chown `whoami` -R `pwd` | |
reset: | |
sudo chown edxapp -R `pwd` | |
reset.cache: |