Question

Questions regarding PHP 'App'

I am experimenting with setting up a PHP service on the app platform.

I have connected it to a gitlab repository and it builds and deploys well, but I have run into several issues:

  • The (DO managed) (sub-)domain does not work. I get the following error: This site can’t provide a secure connection. While SSL works fine with the supplied ondigitalocean.app subdomain
  • I would like to setup url rewriting, but I can’t find any documentation on how to do so
  • Also I would like to manage the app spec from within the repository. I have found a sample somewhere where the file is stored in .do/app.yaml, but that doesn’t seem to work

Documentation is quite scarce unfortunately, I hope someone can answer my questions. Thanks!


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hey there!

For your subdomain I’d recommend reaching out to our support team to check what may be blocking the SSL from being issued.

Unfortunately URL rewriting is not supported in App Platform at this time. I’d suggest you add this ideas to our ideas page: Ideas

App specs stored in a repo are currently used for the deploy to DO button button: How to Add a “Deploy to DigitalOcean” Button to Your Repository

Using an app spec stored in your repo can’t be used to deploy an app outside of the deploy to DO button. You can us DOCTL to build an app from the spec however: doctl apps

Hope it helps! Nate