Welcome! Log In Create A New Profile

Advanced

nginx+Go

Posted by SeventhSon27 
nginx+Go
August 27, 2017 06:47PM
Hello!
I want to use nginx+Go in simple web app.
How I can do it using Go as 1)script (file xxx.go) 2)binary app
For example I have file hello.go in the nginx root:

package main
import "fmt"
func main() {
fmt.Printf("hello, world\n")
}

I should get:
http://myhost/hello.go
hello, world
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 249
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready