Skip to content

YuFireWhisper/blur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blur

Blur 是個便捷的 Web 伺服器,支援靜態文件服務、路由轉發,並且提供網頁配置介面。

快速開始

使用預設配置

最簡單的啟動方式是使用預設配置:

blur -u

這會:

  • 在 8080 端口啟動伺服器
  • 啟用網頁配置介面(訪問 /web_config

使用配置文件

如果需要自定義配置,可以建立配置文件並指定路徑:

blur -c /path/to/config

配置文件範例:

http {
  server {
    listen 0.0.0.0:8080;

    location / {
      static_file ../index.html;
    }

    web_config on;
  }
}

命令列參數

Options:
  -c, --config-path <CONFIG FILE PATH>  指定配置文件路徑
  -u, --use-default-config             使用預設配置
  -h, --help                           顯示幫助訊息
  -V, --version                        顯示版本資訊

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published