Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.
pzojPublic archive

About

An online judge that helps you learn as you do problems. We recommend problems based on what you’ve struggled on in the past/areas you’re unfamiliar with whilst offering tutorials and guides on various areas of competitive programming

Topics

Resources

Stars

16 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

90 Commits

Folders and files

Repository files navigation

PZOJ

This repository has been deprecated in favor of pzoj-contest

online judge + learning platform, all-in-one!!

notes when setting up the judge:

  • the client listens on port 3000 while the server listens on port 3001 and the websocket server listens on port 3002
  • this means you must configure nginx to route them both to port 80
  • e.g.:
server {
  listen 80;
  listen [::]:80;
  
  location / {
    proxy_pass http://localhost:3000;
    proxy_http_version 1.1;
    proxy_buffers 8 16k;
    proxy_buffer_size 16k;
  }

  location /api {
    proxy_pass http://localhost:3001;
    proxy_http_version 1.1;
    proxy_buffers 8 16k;
    proxy_buffer_size 16k;
  }

  location /ws {
    proxy_pass http://localhost:3002;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "Upgrade";
    proxy_set_header Host $host;
    proxy_buffers 8 16k;
    proxy_buffer_size 16k;
  }
}

About

An online judge that helps you learn as you do problems. We recommend problems based on what you’ve struggled on in the past/areas you’re unfamiliar with whilst offering tutorials and guides on various areas of competitive programming

Topics

Resources

Stars

16 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages