12 lines
181 B
Ruby
12 lines
181 B
Ruby
|
require 'nginx'
|
||
|
|
||
|
class ExampleProxy < NGINXProxy
|
||
|
domain "gurgul.org"
|
||
|
service "forgejo"
|
||
|
user "git"
|
||
|
port 3000
|
||
|
end
|
||
|
|
||
|
puts ExampleProxy.generate
|
||
|
puts ExampleProxy.available_path
|