简体   繁体   English

谷歌云阿帕奇服务器

[英]Google Cloud apache server

I'm trying to set up a VM instance in Google Cloud Hosting and just set up an apache server for it.我正在尝试在 Google Cloud Hosting 中设置一个 VM 实例并为其设置一个 apache 服务器。 I followed a tutorial that showed how to overwrite the server's default web page with a blank page that says "Hello World", but I want to overwrite it with my website's index page, which is in my storage bucket.我遵循了一个教程,该教程展示了如何用一个写着“Hello World”的空白页面覆盖服务器的默认网页,但我想用我的网站的索引页面覆盖它,该页面在我的存储桶中。 How do I do that?我怎么做?

You can mount your storage bucket to a folder inside your VM with these instructions您可以按照这些说明将存储桶挂载到 VM 内的文件夹中

You could mount it to this path [1] as an example, so that your web server points directly to the bucket.例如,您可以将其挂载到此路径 [1],以便您的 Web 服务器直接指向存储桶。

[1] /var/www/html [1] /var/www/html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Google Cloud 上使用 Compute Engine 运行 Apache Web 服务器? - How to run an Apache web server using Compute Engine on Google Cloud? 中间人服务器和云上的阿帕奇 - Middleman server and apache on cloud Google Cloud和XMPP服务器 - Google cloud and xmpp server Google Cloud SQL + Apache 进程在服务器崩溃之前永远不会结束 - strace 建议 Mysql 连接挂起 - Google Cloud SQL + Apache processes never end until server crashes - strace suggests Mysql connections hanging 如何使用 apache web 服务器反向代理到谷歌云运行服务? - How to reverse-proxy using apache web server to google cloud run services? 500(内部服务器错误)在 Google Cloud 中托管 Web - Compute Engine VM + Firestore + PHP + Apache2 - 500 (Internal Server Error) Hosting Web in Google Cloud - Compute Engine VM + Firestore + PHP + Apache2 Google Cloud Messaging Apache Tomcat不起作用 - Google Cloud Messaging apache tomcat not working Google云端-重启后服务器超时 - Google cloud - server timed out after rebooting 什么是相当于 HTTPS 服务器的 Google Cloud 服务? - What is the Google Cloud service equivalent of an HTTPS server? Apache2 端口 80 停止在谷歌云 vm 实例中工作 - Apache2 Port 80 Stop working in google cloud vm instance
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM