Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx部署webstack静态页面 #5

Open
FmKnight opened this issue Aug 16, 2021 · 2 comments
Open

nginx部署webstack静态页面 #5

FmKnight opened this issue Aug 16, 2021 · 2 comments

Comments

@FmKnight
Copy link

作者你好,在使用主题进行nginx部署的时候,hugo server并未生成public文件夹,而且会报图一的warning。
我使用代理,hugo server至1313才能正常访问,请问如何通过静态页面的方式,让nginx直接访问hugo server生成的内容。
图二是我的文件目录结构
谢谢解答!
图一:warning
2021-08-16_23--50
图二:文件目录结构
2021-08-16_23--49

@iplaycode
Copy link
Owner

data目录没有在网站根目录

@FmKnight
Copy link
Author

FmKnight commented Aug 19, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants