First of all you have to start your xamp server
Install Package
pip install mysql-connector-python
"""It may be useful to have one catch-all view where you handle complex logic yourself based on the path. | |
This example uses two rules: | |
- First rule specifically catches | |
- Second rule catches arbitrary paths with the built-in path converter. | |
The path converter matches any string (including slashes).""" | |
@app.route('/', defaults={'u_path': ''}) | |
@app.route('/<path:u_path>') | |
def catch_all(u_path): | |
print(repr(u_path)) |
# https://support.cloudflare.com/hc/en-us/articles/200170786-Restoring-original-visitor-IPs#C5XWe97z77b3XZV | |
server { | |
server_name lecuong.info; | |
listen *:80; | |
client_max_body_size 100M; | |
proxy_read_timeout 600s; | |
proxy_buffers 16 4k; | |
proxy_buffer_size 2k; | |
location ^~ /.well-known/acme-challenge/ { |
First of all you have to start your xamp server
pip install mysql-connector-python