Coder Social home page Coder Social logo

fpom / cow Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 3.44 MB

C over the Web: dead-simple C online programming

License: MIT License

Python 0.27% JavaScript 80.59% CSS 2.48% Shell 0.01% HTML 16.55% Makefile 0.01% C# 0.10%

cow's Issues

Nginx conf suggestion (seems not to be working: 404 not found)

Hi,
I have found this nginx conf, that should work.
I am no more facing 502 errors, but I still have 404 Not found error with ttyd.

server {
        listen 80;
        server_name cow.s1gm4.eu;
        return 302 https://$server_name$request_uri;
}

server {
        listen 443 ssl;
        server_name cow.s1gm4.eu;
        ssl_certificate /etc/letsencrypt/live/meissa.s1gm4.eu/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/meissa.s1gm4.eu/privkey.pem;
        location / {
                proxy_pass http://localhost:5000;
        }
        location ^/ttyd/([0-9]*)/([\s\S]*) {
		proxy_pass http://127.0.0.1:$1/$2;
        }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.